URL Slug Generator
Convert any text into a clean, SEO-friendly URL slug instantly
Examples
Paste a headline, pick your separator, and grab a clean slug — lowercase, no special characters, ready to drop into any CMS or routing config. Accented letters get transliterated automatically, so "café" becomes "cafe" without extra steps. And everything runs in your browser. Nothing gets uploaded.
How It Works
The generator takes your raw text, converts it to lowercase, and transliterates any accented or non-ASCII characters into their closest plain-letter equivalents. Then it strips out everything that isn't a letter or number, collapses multiple separators into one, and trims leading/trailing hyphens. The result updates live as you type.
Examples
Blog Post Title with Special Characters
You're publishing a recipe post and need a clean permalink.
Grandma's Café-Style Crème Brûlée (Easy!)
grandmas-cafe-style-creme-brulee-easy
Product Page with Brand Name & Model Number
An e-commerce team adding a new SKU page. The title has ampersands, trademark symbols, and mixed case.
Sony WH-1000XM5™ — Noise Cancelling Headphones (Black)
sony-wh-1000xm5-noise-cancelling-headphones-black
Multilingual Page Title
A travel site writing city guides in English but with local place names left intact.
München & Zürich: Best Straßenbahn Routes 2026
munchen-zurich-best-strassenbahn-routes-2026
Who Uses This
Generating route paths and permalink patterns for CMS entries or API endpoints.
Turning article headlines into readable URLs before publishing on WordPress or Ghost.
Crafting keyword-rich slugs for landing pages and checking slug length before going live.
Creating consistent product page URLs across hundreds of SKUs with special characters in their names.
Common Mistakes
A slug like "a-guide-to-the-best-coffee-in-the-city" is bloated. Cut the filler — "best-coffee-city" says the same thing and ranks just as well. Shorter slugs are easier to share and remember.
If Google already knows your page at one URL and you swap the slug, you lose rankings unless you set up a 301 redirect. Get it right before publishing — that is the whole point of previewing here first.
Google treats hyphens as word separators but underscores as joiners. "best_coffee_shops" is read as one long word by search engines. Stick with hyphens unless your framework specifically requires underscores.
Technical Details
- Processing: 100% client-side — text never leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Transliteration: Covers Latin-extended, German, Nordic, and common diacritics
- Separators: Hyphen (-), underscore (_), or dot (.)
- Max Length: Configurable, no hard limit
Frequently Asked Questions
What is a URL slug?
It's the readable part at the end of a URL — like "best-pizza-nyc" in example.com/blog/best-pizza-nyc. Slugs replace spaces with hyphens, drop special characters, and stick to lowercase. They make links both human-readable and search-engine-friendly.
Do URL slugs affect SEO?
Yes, but probably less than you think. A descriptive slug gives Google a small relevance signal and helps users decide whether to click in search results. The bigger win is readability — clean URLs get shared more and look trustworthy. Don't stuff keywords; just describe the page honestly.
How long should a URL slug be?
Aim for 3 to 5 words — roughly 50 to 60 characters. Google shows about 60 to 70 characters of a URL in search results before it truncates. If your title is long, drop filler words like "the," "a," and "of" to keep it tight.
Should I use hyphens or underscores in URLs?
Hyphens, almost always. Google treats hyphens as word separators, so "best-coffee" registers as two words. Underscores get treated as joiners — "best_coffee" reads as one word to the crawler. The only exception is if your tech stack demands underscores for routing, but even then, most frameworks let you customize it.
Can I change a URL slug after publishing?
You can, but you will break the old link unless you add a 301 redirect from the old URL to the new one. Any backlinks, bookmarks, or social shares pointing to the original slug will hit a 404 without that redirect. If the page already ranks well, think hard before changing it.