URL Slug Generator
Turn a title into a clean, lowercase URL slug, with accents converted, optional stop-word removal and a length limit.
Type a title to see its slug.
Slug
Paste titles above, one per line.
Turn a title into a clean URL slug
The slug is the readable end of a web address. In example.com/blog/how-to-fix-a-leaky-tap, it’s how-to-fix-a-leaky-tap. Most CMSs build one from the title automatically, and plenty of them stumble on anything unusual: “Don’t Panic: 10 Tips for Café Owners!” can come out as don-t-panic-10-tips-for-caf-owners.
This generator gives you dont-panic-10-tips-for-cafe-owners instead. It lowercases the title, removes accents, deletes apostrophes rather than splitting words at them, and turns every run of spaces and punctuation into a single hyphen. The slug updates as you type, with the full example URL and its length underneath.
Everything runs in your browser.
How to make a URL slug
- Type or paste a title into the Title box. The slug appears straight away.
- Set any options you need: underscores instead of hyphens, a maximum length, stop words removed, German spelling for ä, ö and ü, or what happens to letters from other alphabets.
- Replace https://example.com/blog/ with your own site and section to see the whole address.
- Click Copy slug, or Copy URL for the full link.
- For a whole list, switch to Many titles (one per line), paste the titles and use Copy all.
Rules the slug follows
- Apostrophes disappear: “don’t” becomes dont and “it’s” becomes its, so no word is broken in two by a stray hyphen.
- & becomes “and”: Salt & Pepper gives salt-and-pepper. Untick the option and you get salt-pepper.
- Emoji and symbols go: so do ™, ® and ©, and currency and percent signs. “50% off: £20” becomes 50-off-20.
- The length limit cuts between words: with a limit of 30, “How to choose the right running shoes for flat feet” becomes how-to-choose-the-right (23 characters), never a half word or a hyphen at the end. Only a single word longer than the whole limit gets cut in the middle.
- Duplicates in a list are numbered: the second hello-world becomes hello-world-2, the third hello-world-3, and they still respect the length limit. Blank lines stay blank, so the output lines up row for row when you paste it back into a spreadsheet.
Where it saves you fiddling
- WordPress, Shopify, Ghost and Webflow all let you edit a post’s slug by hand. Paste the clean one in before you hit publish, because changing it later is a bigger job.
- Product catalogues: paste a column of product names from a spreadsheet into Many titles and paste the slugs back beside them.
- Static sites and docs: Markdown file names in Astro, Hugo or Jekyll follow the same rules. Underscores are there if your setup expects them.
Writing slugs people can read
- Stick with hyphens. Google’s URL guidelines recommend hyphens over underscores for separating words, which is why they’re the default.
- Trim stop words, then reread. Removing “the”, “of” and “in” turns the-art-of-war-in-the-modern-world into art-war-modern-world. It can also go too far: “To Be or Not to Be” shrinks to just not.
- Think twice about years. hiking-boots-guide-2026 looks dated a year later, and changing a live slug means setting up a redirect.
- While you’re preparing the page, the Meta Tag Generator writes the title and description tags to go with it.
Accents, Cyrillic and other alphabets
Latin letters with accents
Each accented letter is split into its base letter and the accent, and the accent is dropped: é, è and ê all become e, ş becomes s, ő becomes o. Some letters don’t split like that, so they have their own spelling here: ß → ss, æ → ae, ø → o, œ → oe, ł → l, đ and ð → d, þ → th, and the Turkish dotless ı → i.
German readers usually expect ü as ue (Müller as mueller). That’s an option, off by default, because for Turkish, Spanish or Hungarian words the plain vowel is the right choice.
Cyrillic and Greek
With Non-Latin letters set to Spell in Latin letters, Russian, Ukrainian, Bulgarian and Serbian Cyrillic and Greek are converted with a simple table: Москва becomes moskva, Київ becomes kiyiv, Αθήνα becomes athina. It’s a practical spelling for web addresses, not an official system like ISO 9, so double-check names that matter to you.
Chinese, Japanese, Arabic, Hindi and the rest
These have no simple letter-for-letter spelling, so in Latin mode they are left out and the tool tells you exactly what was removed. Choose Keep as they are for a Unicode slug such as 東京-travel-guide or привет-мир.
Browsers display those as written, and Google’s guidelines allow them. The catch shows up when a link is copied into an email or chat: 東京 turns into %E6%9D%B1%E4%BA%AC, 18 characters instead of 2. The count under the slug shows both numbers whenever they differ.
URL Slug Generator: common questions
Should I use hyphens or underscores in a URL?
Hyphens. Google recommends them over underscores for separating words, and they’re what most people expect to see. Only use underscores if a system you can’t change requires them.
How long should a URL slug be?
Search engines don’t enforce a slug length, so go for something that still makes sense on its own, often three to six words. If your CMS or style guide sets a limit, type it into Max length; the cut always falls between words.
Should I remove words like “the” and “and” from slugs?
Often, as long as the slug still reads naturally. art-war-modern-world is quicker to scan than the full title. Check the result though, because a title made mostly of short words can shrink to a single word.
Can a URL slug contain accents or non-English letters?
It can. Modern browsers and Google handle Unicode in URLs, but copied links turn into long percent-encoded strings and some older software mangles them. For languages written in the Latin alphabet, removing accents is the safer default. For a Russian, Greek, Japanese or Arabic site, a slug in that script is a reasonable choice.
Will changing a slug break my old links?
Yes, unless you redirect them. A new slug is a new URL, so set up a 301 redirect from the old address. Search engines follow it to the new page, and so do visitors with old bookmarks; without it they land on a 404 page.

