Slug Generator
Turn any title into a clean URL slug online: lowercase, accents removed, symbols dropped, words joined with hyphens or underscores. One slug per line.
Runs in your browser · Nothing uploaded · No sign-up
Something not working, or missing a feature? Send feedback
About the Slug Generator
The Slug Generator turns a title or phrase into a clean URL slug: lowercase letters and numbers joined by hyphens, with accents removed and symbols dropped. Use it for blog permalinks, product URLs and file names. Paste several titles, one per line, to get one slug for each.
Everything runs in your browser, so your input is never uploaded to a server.
How to use the Slug Generator
- Type or paste a title. Use one line per slug if you have several.
- Choose a hyphen or an underscore as the separator, and whether the slug should be lowercase.
- Copy the slug into your CMS, router or file name.
Examples
Input
How to Format JSON: 10 Tips & Tricks!
Result
how-to-format-json-10-tips-and-tricks
"&" became "and", the colon, the exclamation mark and the extra spaces were dropped.
Input
Crème Brûlée Recipe
Result
Creme_Brulee_Recipe
Common mistakes
- Changing a published slug. Changing the slug of a live page breaks existing links and rankings unless you add a 301 redirect from the old URL.
Works well with the Slug Generator
- Case Converter: convert names to kebab-case or snake_case.
- Meta Tag Generator: write the title and description for the page.
- URL Encode / Decode: encode a URL that still has special characters.
Frequently asked questions
What makes a good URL slug for SEO?
Short, lowercase, readable words separated by hyphens, with no accents, spaces or punctuation. Google treats hyphens as word separators, which is why they are preferred over underscores.
How are accented letters handled?
They are converted to their plain letter, so "Crème Brûlée" becomes "creme-brulee". Characters with no Latin form, such as Chinese or Arabic letters, are dropped.
What happens to "&" and other symbols?
"&" becomes the word "and". Every other symbol is treated as a separator, and repeated separators are merged into one.
Related tools
Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more online. Rename variables and keys in one paste.
Remove Duplicate Lines
Remove duplicate lines from text online, keeping the first occurrence and the original order. Optionally ignore case, extra spaces and empty lines.
Sort Lines
Sort lines of text online alphabetically, naturally (item 2 before item 10), by number or by length, in ascending or descending order. Runs in your browser.
Remove Line Breaks
Remove line breaks from text online: join broken lines from a PDF or email into one paragraph, or into a comma-separated list. Optionally keep paragraph breaks.
Remove Extra Spaces
Remove extra spaces from text online: collapse repeated spaces and tabs, trim every line and squeeze blank lines. Clean pasted text in one click.
Text to Binary
Convert text to binary (8-bit UTF-8 bytes) and binary back to text online. Works with letters, numbers, emoji and any language; copy or download the result.