URL Slug Generator
Turn any title into a clean web address — lowercase, hyphenated, accents flattened, punctuation gone.
Fast, easy and free — your answer appears as you type, and whatever you enter stays on your device.
Type a title and get the clean web-address version instantly: lowercase, hyphenated, accents flattened to plain letters, punctuation gone, and a live preview of how it looks in a URL.
How to use it
- Type the titleThe heading, product name or post title exactly as written — capitals, accents, punctuation and all.
- Pick a separatorHyphens are the web standard; underscores exist for systems that require them.
- Copy the slugThe preview shows it in place in a URL before you commit.
Why slugs are worth thirty seconds
A slug is the one piece of page metadata visible in every share, bookmark and search result. /blog/how-to-freeze-basil tells a reader what awaits before they click; /blog/post-4823 tells them nothing, and search engines read the words in the first form as a relevance signal. Since a slug should never change once published — every changed slug is a broken link somewhere — the thirty seconds spent getting it right at publish time is the cheapest SEO work that exists.
What the cleaning actually involves
The transformation looks trivial and has sharp edges: accents must flatten (not vanish), apostrophes must vanish (not split their word), runs of any punctuation must collapse to a single separator, and nothing may lead or trail. Each rule exists because its violation produces a real-world ugly URL — the don-t slug, the double-hyphen from an em-dash, the trailing hyphen from an exclamation mark. This generator applies all of them in order and shows the result in a URL preview, because a slug is only judgeable in its habitat.
Typed titles stay on your device throughout.
Questions people ask
What exactly is a slug?
The human-readable part of a URL that identifies a page: in example.com/blog/how-to-make-coffee, the slug is how-to-make-coffee. Good slugs are lowercase, hyphen-separated, and describe the content — readable to both people and search engines.
Hyphens or underscores?
Hyphens, almost always. Search engines treat hyphens as word separators, so how-to-make-coffee is read as four words; underscores historically joined words together. Underscores survive in some file-based and legacy systems, which is the only reason the option exists.
What happens to accents and special letters?
They flatten to their plain-letter cousins: é becomes e, ö becomes o, ß becomes ss. URLs technically support accented characters nowadays, but they get percent-encoded into noise when copied — %C3%A9 instead of é — so plain ASCII slugs remain the robust choice.
What about apostrophes in words like don't?
They vanish rather than becoming separators: don't turns into dont, not don-t. Splitting a word at its apostrophe produces slugs that read wrongly, and this is the detail most slug generators get wrong.
How long should a slug be?
Three to six meaningful words. Slugs are forever — changing one breaks every link pointing at the page — so drop filler words but keep the words someone would search. This page's own slug is url-slug-generator, not the full title.
Is my text stored?
No — slugs are built on your device as you type.