Slug Generator
Turn titles into clean, lowercase URL slugs. Accents and ligatures are transliterated, punctuation is removed and separators are never doubled or left at the ends. Convert one title or a whole list.
Slug
Your slug will appear here…
What a slug generator does
Every blog post, product or documentation page needs a URL, and the readable part of it, the slug, is usually derived from the title. Titles contain things URLs handle badly: spaces, capitals, accents, colons, parentheses, ampersands and curly quotes. Left in, they are percent-encoded into strings likeCr%C3%A8me%20Br%C3%BBl%C3%A9e, which look broken when shared.
This tool converts any title into a short, lowercase, ASCII-only slug that is safe in URLs, file names and CMS fields. It is useful for bloggers and editors writing permalinks, developers seeding a database with product handles, and anyone renaming a batch of files consistently.
How to use it
- Choose Single title or Bulk (one per line).
- Type or paste into the input, or press Load example.
- Set the Separator, Max length, Lowercase and Remove English stop words options; the slug updates instantly.
- In bulk mode, keep Make duplicates unique on if every slug must be different.
- Press Copy, or Download the list as a text file in bulk mode.
Worked example
The title Crème Brûlée: The Ultimate Guide (2026) becomescreme-brulee-the-ultimate-guide-2026. Accents are removed, the colon and parentheses disappear, and there is no stray hyphen at the end. With Max length set to 25 the result is creme-brulee-the-ultimate: the tool stops at the last whole word that fits instead of cutting a word in half.
In bulk mode, the example list produces:
How to Write a Perfect URL Slug → how-to-write-a-perfect-url-slug Why Hyphens Beat Underscores → why-hyphens-beat-underscores How to write a perfect URL slug! → how-to-write-a-perfect-url-slug-2 Café Menu & Prices → cafe-menu-and-prices
The third title collides with the first, so it receives a -2 suffix. With stop words removed the first slug shortens to write-perfect-url-slug.
Options explained
- Separator: hyphen for URLs; underscore or dot for file names, keys or identifiers.
- Max length: an upper bound in characters. Cutting happens at a separator; only a single word longer than the limit is cut mid-word.
- Lowercase: on by default because many servers treat URL paths as case-sensitive, so /Blog and /blog can be different pages.
- Remove English stop words: drops short function words such as a, an, the, of, to, for, with and how.
- Make duplicates unique: appends -2, -3 and so on to repeated slugs in a bulk list.
Limitations
The output alphabet is deliberately limited to A–Z, a–z and 0–9 plus the separator. Text in Cyrillic, Greek, Arabic, Chinese or Japanese is not transliterated and yields an empty slug, which the tool flags. The stop-word list is English only. Duplicate handling works within the list you paste; the tool cannot check slugs that already exist on your site. Bulk mode accepts up to 5,000 lines per run.
Tips
- Keep slugs stable. If you change one after publishing, add a 301 redirect from the old URL.
- Shorter is usually better: three to five meaningful words describe most pages.
- Leave dates out of evergreen content so the URL does not look outdated next year.
- Need snake_case or camelCase identifiers instead? Use the case converter. To check special characters in a URL, try the URL encoder.
Frequently Asked Questions
What is a URL slug?
A slug is the readable part of a URL that identifies a page, such as “creme-brulee-guide” in example.com/blog/creme-brulee-guide. Good slugs use lowercase ASCII letters, digits and hyphens only.
How are accents and special letters handled?
Accents are removed by Unicode decomposition (é → e, ñ → n, ü → u), and letters that do not decompose are transliterated: ß → ss, æ → ae, œ → oe, ø → o, ł → l, þ → th. An ampersand becomes “and” and apostrophes are dropped, so “Don’t” becomes “dont”.
Should I use hyphens or underscores in URLs?
Hyphens. Google's URL guidelines recommend hyphens to separate words because underscores can be read as joining words together. Underscores and dots are offered for file names and identifiers.
Should I remove stop words from slugs?
It is optional. Removing words like “the”, “a” or “to” makes slugs shorter, but can change the meaning, so check the result. If every word is a stop word, the tool keeps them rather than returning an empty slug.
What happens with Cyrillic, Greek, Chinese or Arabic text?
Only Latin letters and digits are kept, so text written entirely in other scripts produces an empty slug and the tool warns you. Transliterate it first or write the slug by hand.
Is my text sent to a server?
No. Slugs are generated in your browser with JavaScript. Nothing is uploaded or stored.
Related tools
- Word CounterCount words, characters, sentences and paragraphs in text
- Text to SpeechConvert any text to natural-sounding speech using your browser's Web Speech API. Select voice, language, rate, and pitch.
- Case ConverterConvert text between different cases: uppercase, lowercase, title case, camelCase, snake_case
- Text SummarizerSummarize long articles, documents, or text into key sentences using extractive summarization. Runs entirely in your browser.
- Text DiffCompare two texts and highlight differences
- Text Reverser & Palindrome CheckerReverse text by characters, words or lines (emoji-safe) and check whether a phrase is a palindrome, accents and punctuation ignored. Runs in your browser.
All Text Tools tools · Found a bug or a wrong result? Report it.