URL Slug Generator
Type a headline and get its URL slug instantly: lowercase, accents flattened to plain letters, punctuation and spaces collapsed into single separators, and — if you set a max length — trimmed at a word boundary so the slug never ends mid-word.
Slug
Type a title above; the URL-ready slug appears here.
Build the page in Moda
Got the slug? Design and publish the page itself on a free moda.page site.
Try Moda free →What makes a slug "clean"
A slug should survive being read aloud, typed by hand, and parsed by every proxy between a browser and your server. That means lowercase ASCII letters, digits, and one separator character — nothing that needs percent-encoding. This generator flattens accented letters to their base form (crème brûlée → creme-brulee), converts every run of spaces and punctuation into a single separator, and strips separators from both ends, so " Hello —— World! " comes out as hello-world, never -hello--world-.
Hyphens versus underscores
Hyphens are the right default for public URLs: Google has stated for years that it treats hyphens as word separators but joins words around underscores, so blue-widgets is read as two words and blue_widgets can be read as one. Underscores remain the convention in some file-naming and internal-tooling contexts, which is why the option exists — but if the slug is going in a web address, keep the hyphen.
Length trimming and non-Latin text
The max-length option cuts at the last complete word that fits rather than mid-word, so a 60-character budget yields "how-to-bake-creme-brulee" and never "how-to-bake-creme-bru". There is no hard SEO limit on slug length — the practical argument for short slugs is shareability and readability. German ß and the æ/œ ligatures transliterate (Fußball → fussball); beyond those, only characters with a Latin decomposition survive, so Cyrillic, CJK, and emoji are dropped in place without breaking the surrounding word. For non-Latin content, write the slug in translation or use your CMS’s transliteration.
Frequently asked questions
What happens to apostrophes and "&" in titles?
Apostrophes vanish along with other punctuation, so "Don't Panic" becomes dont-panic (the common CMS convention). "&" becomes a separator, not the word "and" — rewrite it yourself if you want "black-and-white".
Does changing an existing slug hurt SEO?
Changing a published URL discards its accumulated signals unless you add a 301 redirect from the old address. Generate slugs freely for new content; rename existing pages only with a redirect in place.
How long should a slug be?
There is no ranking cutoff, but short slugs are easier to share, read, and keep intact when links wrap. 3–6 meaningful words is a good habit; the max-length control at 50–60 characters enforces it without cutting words in half.
Why did my text produce an empty slug?
The input contained no Latin letters or digits — for example a title entirely in CJK, Cyrillic, or emoji. Those characters have no ASCII base form to strip down to, so nothing survives; write a translated or transliterated version instead.