Generate a URL Slug
Separator
Paste a post title or product name and get a slug that is safe in any URL: lower case, words joined with hyphens, accents and punctuation removed.
- Free
- Runs in your browser
- Several titles at once
- No sign-up
How It Works
Make a slug in three steps.
Enter a title
Type or paste it. Put several titles on separate lines to convert them together.
Adjust the options
Choose hyphens or underscores, a maximum length and whether to drop short words.
Copy the slug
Check the preview URL and copy the slug into your CMS or code.
What makes a good URL slug?
A slug is the readable part at the end of a URL, as in /blog/better-cafe-photos. Good slugs are short, lower case, use hyphens between words and contain only letters and digits, so they never need percent-encoding. Google's URL guidelines recommend hyphens over underscores because hyphens are read as word separators.
Once a page is published, keep its slug. Changing it breaks existing links unless you add a redirect from the old URL.
Accents removed
é becomes e, ü becomes u, ß becomes ss and æ becomes ae, so "Crème Brûlée" gives creme-brulee.
& becomes "and"
"Salt & Pepper" turns into salt-and-pepper rather than losing the meaning.
Length limit at a word
With a maximum length, the slug is cut at the last whole word that fits, never in the middle of one.
Optional stop-word removal
Drops words such as a, the, of and to: "How to Convert a PDF to Word" becomes how-convert-pdf-word.
Convert PDF Files and File Formats
Find the perfect online tool to combine PDF files, compress documents, and handle your daily workflow effortlessly.
PDF Tools
All your PDF needs in one place
- Merge PDF
- Organize PDF
- Split PDF
- Compress PDF
- Convert to Word
- Convert to Image
Image Tools
Edit and optimize your images
- Resize Image
- Compress Image
- Convert Format
- Crop Image
- Add Watermark
- Remove Background
Word Tools
Work with Word documents
- Convert to PDF
- Merge Documents
- Split Documents
- Compress File
- Edit Text
- Add Watermark
Excel Tools
Process Excel spreadsheets
- Convert to PDF
- Convert to CSV
- Merge Sheets
- Split Sheets
- Compress File
- Clean Data
Why Use This Slug Generator
Consistent slugs without hand-editing.
Batch mode
One slug per input line, so you can convert a list of product names at once.
Preview URL
See the slug at the end of an example address before you copy it.
Handles accented text
Works for French, German, Spanish, Portuguese and other Latin-script languages.
Private
Unpublished titles stay in your browser.
Frequently Asked Questions
Questions people ask about the Slug Generator.
Hyphens. Google reads a hyphen as a space between words but may read an underscore as joining them. Underscores are offered for systems that require them, such as some file naming schemes.
For long titles it makes slugs shorter and easier to read. For short ones, keep them if removing changes the meaning: "to-be-or-not-to-be" is not the same as "or-not".
Letters from other scripts such as Cyrillic, Greek or Chinese are kept as they are. Browsers display them, but they are percent-encoded when copied, so a transliterated Latin slug is often more practical.
There is no fixed limit. Three to five meaningful words is a good target. Use Max length if your CMS has a limit, for example 60 characters.
Related Text & Developer Tools
More small utilities that run in your browser.
Text Case Converter
Switch text to UPPER, lower, Title, camelCase and more.
URL Encode & Decode
Percent-encode text for URLs or decode it.
URL Parser
Split a URL into its parts and query parameters.
Word Counter
Count words, characters, sentences and reading time.
Find and Replace
Replace words or patterns in any text, with regex support.