URL Slug Generator
Paste a headline and get the URL slug a search engine would want: lowercase, spaces and punctuation converted to hyphens, accents folded to their plain equivalents (café → cafe), and no stray dashes. The slug is the part of the URL that humans and Google both read — 'my-ultimate-cold-brew-guide' beats '/post?id=4171' every time.
It also reports slug length, because best practice keeps slugs short: 3–5 meaningful words, under about 60 characters. Edit the input live and the slug updates as you type; everything runs in your browser.
How to use
- Paste or type your page title into the box.
- The clean slug appears instantly — accents folded, symbols stripped, words joined by hyphens.
- Check the length readout, copy the slug, and paste it into your CMS or router.
Frequently asked questions
What makes a good URL slug?
Lowercase, hyphens between words, no punctuation, no filler words like 'a' or 'the', and 3–6 words that describe the content. Keywords near the front help slightly; readability matters more.
Should slugs use hyphens or underscores?
Hyphens. Google treats hyphens as word separators but treats underscores as word joiners — 'cold-brew-guide' reads as three words, 'cold_brew_guide' reads as one.
Do accented characters hurt SEO?
Modern browsers handle them, but they turn into ugly percent-encoded strings when shared (caf%C3%A9). Folding accents to plain letters keeps URLs clean and shareable.
Can I change a slug after publishing?
Only with a redirect. Changing a published URL breaks any links pointing to it — set up a 301 redirect from the old slug to the new one, then update internal links.