Slug Generator
Turn any title into a clean, URL-safe slug: lowercase, accents stripped, punctuation removed — with your choice of hyphen or underscore separators.
Reviewed 17 November 2026 · Free · No account needed
How to use
- Type or paste the title.
- Pick a separator: hyphen (recommended for SEO) or underscore.
- Copy the slug — it updates live as you type.
Example
Input: Café & Crème — Summer 2026!
Output: cafe-creme-summer-2026
How it works
The text is lowercased, accented characters are folded to plain letters, and every run of non-alphanumeric characters becomes a single hyphen. Leading and trailing hyphens are removed.
Accents are removed by Unicode NFD decomposition (é → e), the text is lowercased, then every run of characters that is not a latin letter, digit or space becomes one separator. Repeated separators collapse to one, and leading or trailing separators are trimmed.
"Café & Crème — Summer 2026!" becomes cafe-creme-summer-2026 — or cafe_creme_summer_2026 with the underscore separator.
Edge cases to know
- Latin letters and digits are kept; other scripts (for example Urdu or CJK) are removed, not transliterated.
- Consecutive punctuation collapses into a single separator.
- Output is lowercase only — uppercase slugs are not offered.
Limits & compatibility
- Latin letters and digits are kept; other scripts (e.g. Urdu, CJK) are removed, not transliterated.
- Consecutive punctuation collapses into one separator.
- Output is lowercase only — uppercase slugs are not offered.
Privacy
Generated locally in your browser. Titles are never sent to a server or stored.
Related tools
Questions about Slug Generator
What happens to accents and punctuation?
Accents are stripped with Unicode NFD decomposition rather than transliteration, and punctuation is replaced with your chosen separator — the page's example turns "Café & Crème — Summer 2026!" into cafe-creme-summer-2026. Runs of punctuation collapse into a single separator, and leading or trailing separators are trimmed. Everything is lowercased; uppercase slugs are not offered.
Can I use underscores instead of hyphens?
Yes — hyphen and underscore are both offered, with the hyphen recommended for SEO. The separator choice only changes what replaces disallowed characters; the rest of the pipeline is identical. The slug updates live as you type, so you can compare both separators on the same title before copying either.
Why did my Urdu or Chinese title produce an empty slug?
Only Latin letters and digits survive slugification — other scripts are removed, not transliterated, so a title written entirely in Urdu, CJK or another non-Latin script leaves nothing behind. Transliteration is a language-specific judgement the tool does not attempt; transliterate the title yourself first, then slugify the result.