Slug Generator
Convert any title or sentence into a clean, URL-safe slug. Transliterates accents, drops punctuation, and respects max length.
Your text
Your URL-safe slug will appear here.Options
Map cafe-with-accent to cafe, sharp s to ss, ligatures to ae and oe.
Removes a, an, the, and, or, of, to, in, for, on, at, by, with.
Stats
Slug length0
Original length0
Characters transliterated0
Characters stripped0
Stripped covers emoji, CJK characters, and any punctuation that has no ASCII fallback. They are dropped silently so the slug stays URL-safe.
Frequently Asked Questions about the Slug Generator
What is a URL slug?
The short, readable piece at the end of a URL, like 'hello-world' in /blog/hello-world/. Slugs stick to lowercase letters, digits, and a single separator so they survive copy-paste, email clients, and search engine indexing without escaping.
Why does it strip emoji and Chinese characters?
Those characters have no ASCII equivalent, and percent-encoded URLs (xn--... or %F0%9F%9A%80) hurt readability and shareability. The generator drops them silently. If you need them preserved, encode the slug yourself with encodeURIComponent.
How does the transliteration option work?
It runs NFKD Unicode normalization to peel combining accents off letters (cafe with an acute becomes cafe), then expands a small set of ligatures the algorithm cannot decompose: sharp s to ss, ae and oe ligatures to ae and oe, plus Nordic letters like o-with-stroke, eth, and thorn.
What does the max length cutoff do?
After cleaning, the slug is trimmed to the cap you set (default 100). To avoid cutting a word in half, the generator backs off to the last separator inside the slice. If no separator fits, it falls back to a hard cut.
Which words does the stop-word option remove?
A short, predictable list: a, an, the, and, or, of, to, in, for, on, at, by, with. Useful for shortening blog post slugs without scrubbing meaning. Leave it off if your slug needs to match an existing URL exactly.