Slug Generator
Build a URL slug from text, using the selected text locale.
About this tool
Spaces and punctuation become hyphens, repeated hyphens collapse, and the edges are trimmed. The result is a path segment, not a full URL.
The page does not check that the slug is unique on a site.
How to use it
- Paste the title or phrase.
- Make the slug. Letters are lowercased for the selected locale.
- Copy the slug. Separators become hyphens.
Limitations
- The slug is lowercase letters, digits, and hyphens. Other characters are separators or are dropped.
- The locale changes case folding. It does not translate the words.
Lowercase letters, digits, and single hyphens
How a title becomes a slug
The text is normalized and lowercased with the selected locale, then split into runs of letters and numbers. Everything else is a separator. The runs are joined with hyphens. “Hello, World!” becomes “hello-world”. Underscores, slashes, and emoji are separators or are dropped, not preserved. The locale matters for case folding. It does not translate “München” into “munich”. Accented letters that are letters stay inside a run, so a slug can contain characters a particular CMS will still reject. If the CMS allows only ASCII, strip accents first on the accent tool, then slugify.
Repeated separators and edges
Punctuation clusters become one hyphen, because empty runs are not pushed. A title that is only punctuation becomes an empty slug. Leading and trailing punctuation do not produce a leading or trailing hyphen. Digits stay, so “Version 2” becomes “version-2”. That is usually what a URL wants. It is not a unique id. Two different titles can collapse to the same slug after case folding and separator removal. The page does not append a number to break a tie.
What not to use it for
A slug is a readable key, not a secret and not a filesystem-safe name for every operating system. It is not a percent-encoder. Characters that survive as letters are not turned into % sequences. Use the URL encoder when you need encoding. Do not slugify a whole URL if you meant to keep the scheme and the slashes. Those become hyphens or disappear into separators.
Stability is the point of a slug
Once a slug is in a URL, changing the title’s punctuation should not casually change the slug if other pages link to it. Generate a slug when you create the page, then store it. Running this tool again after an edit is how you preview a new slug, not how you silently rename a published path. Empty results need a manual key. The tool will not invent a word.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

