URL Slug Generator
Turn any text into a clean URL slug. Lowercase, hyphens, no drama.
What this does
Paste a title, click Generate Slug, get the lowercase, hyphenated version that goes at the end of a URL. Developers call this slugify. Everyone else calls it the bit after the last slash.
The sample title "My Awesome Blog Post: A Guide to Web Development! (2026 Edition)" comes out as my-awesome-blog-post-a-guide-to-web-development-2026-edition. Colon, exclamation mark and parentheses gone. Everything lowercase.
Common use cases
Blog posts and product pages. Your site builder probably makes a slug from the full title, filler words and all. Writing your own gets you a shorter, cleaner URL.
File names. Spaces and symbols in file names break scripts, links and the occasional upload form. Switch the separator to underscore if that's your house style.
Heading anchors and IDs. A slugified heading makes a predictable #section-name link.
Things to know
Accents get stripped to the plain letter, and ß turns into ss. "¿Dónde está el niño?" becomes donde-esta-el-nino. "Große Straße" becomes grosse-strasse.
Letters that aren't a plain letter with an accent on top get their closest match: ø becomes o, æ becomes ae, œ becomes oe, ł becomes l. "København" comes out as kobenhavn and "Smørrebrød" as smorrebrod.
Punctuation disappears without leaving a gap. "Don't Stop Me Now" becomes dont-stop-me-now, "Version 2.0" becomes version-20, and "Salt & Pepper" becomes salt-pepper. Type "and" yourself if you want it.
Spaces, tabs, underscores, hyphens and line breaks all turn into a single separator, and any at the start or end get trimmed. Paste several lines and you get one long slug, not one per line.
Switching between hyphen and underscore doesn't redo the current slug. Click Generate Slug again after you switch.
Privacy
Your text never leaves your browser. That unpublished headline stays unpublished until you say so.
Questions
What makes a good slug for SEO?
Short, readable, and made of the words someone would actually search. This tool keeps every word and has no length limit, so trimming is on you: 'a-guide-to-the-best-sourdough-recipes' reads fine as 'best-sourdough-recipes'. Keep expectations sane, though. A clean slug helps people trust a link before they click it. It won't rescue a page on its own.
Hyphens or underscores?
Hyphens for anything that goes in a URL. Google's own URL guidelines recommend them over underscores, since a hyphen reads as a break between words to people and search engines alike. Underscores are fine for file names, or anywhere a style guide asks for them.
Why does my Chinese, Japanese or Russian title give an error?
The slug only keeps the letters a to z and the digits 0 to 9. Characters from other writing systems get removed, and if nothing is left, you get an error asking you to transliterate first. 'Tokyo 東京 Guide' works, but only the Latin part survives: tokyo-guide.
Can I change a slug after the page is published?
You can, but set up a redirect from the old address when you do. Every link, bookmark and search result points at the old slug, and without a redirect they all land on a 404. Pick a slug you can live with before you publish.