Slug Generator
Turn a headline into a clean, readable URL slug. Accented
letters are transliterated (Café becomes cafe), ampersands
become and, and you choose the separator, casing and word limit.
Title
50% off! keeps a
separator where the symbols were; with strict on the symbols just
vanish.
Slug
Private by design. This page has no backend. Slugs are built by JavaScript on your own device and your text is never sent anywhere.
What happens to each character
A slug should survive being typed, read aloud over the phone, and pasted into a spreadsheet without breaking. That shapes every rule below.
Accented and non-Latin letters
Letters with accents are replaced by their plain Latin forms: é to
e, ü to u, ß to ss,
Æ to ae. Greek and Cyrillic get common transliterations
(Π to P, Ж to zh). Scripts with
no Latin fallback here — Devanagari, Thai, Japanese, Chinese, Korean — are dropped
rather than mangled, so a title in those scripts needs a different strategy: pick
the words you want in the URL yourself.
Ampersands and apostrophes
& expands to and before anything else happens, which
is what a reader expects a slug to say. Apostrophes simply disappear —
don't-stop rather than don-t-stop — along with the curly
quotes some editors insert.
Strict mode
Leftover punctuation (: ! ?
% …) becomes a separator normally, so 50% off! gives
50-off. In strict mode the punctuation vanishes entirely and only
letters, digits and your separator survive — the style most CMSs enforce.
Case and word limits
Lowercase is the web convention and avoids case-sensitivity surprises on servers
that treat /About and /about differently. The word limit
exists because search guidance has long favoured short, descriptive slugs — five
words is a common ceiling — and the first words of a headline usually carry the
meaning.
Common uses
Blog post URLs, e-commerce product pages, documentation anchors, campaign links that people actually read before clicking, and tidying file names for the web.
How to use the Slug Generator
- Paste your title or headline.
- Choose a separator, letter case and any word limit.
- Copy the generated slug.
Frequently asked questions
Does it handle accented letters?
Yes. Accented characters are transliterated — for example 'cafe' from 'cafe' with an accent — and Greek and Cyrillic are converted too.
Can I limit the slug length?
Yes. You can cap the number of words or characters.
What characters are removed?
Spaces and punctuation become separators and everything else is lower-cased into a clean URL-safe string.