ToolLineup

URL Slug Generator

Turn one title or a whole list into URL slugs. Accented letters are decomposed and stripped, so any Latin-alphabet text works without a lookup table, and characters that have a conventional written form rather than a transliteration are spelled out — the eszett becomes ss, an ampersand becomes and, a percent sign becomes percent. Trimming to a maximum length cuts back to a word boundary, and duplicate slugs are flagged, since two pages cannot share a URL. Everything is generated in your browser; nothing is uploaded and no result is recorded anywhere.

How it works

Accented letters are decomposed and their marks stripped, so é becomese and ñ becomesn across the whole Latin range without a lookup table. Characters that have no sensible transliteration but do have a conventional written form are spelled out instead:ß becomes ss,& becomes and, and% becomes percent.

Trimming to a maximum length cuts back to a word boundary rather than mid-word — but only when the cut actually lands inside a word, so a slug that already ends cleanly keeps its last word.

Slugs are generated in your browser. Paste as many lines as you like; each becomes its own slug, and any collisions are flagged, since two pages cannot share a URL.

0 lines
Separator

The standard for URLs; search engines treat it as a word break.

Frequently asked questions

How are accented characters handled?

The text is decomposed into base letters plus combining marks, and the marks are removed — so é becomes e and ñ becomes n across the whole Latin range, with no character-by-character lookup table to fall out of date.

Why do some symbols become words?

Characters like the eszett, ampersand and percent sign have no sensible transliteration but do have a conventional written form. Dropping them silently would change the meaning, so they are spelled out: ss, and, percent.

Should I use hyphens or underscores?

Hyphens. Search engines treat a hyphen as a word break and an underscore as a joiner, so hyphens are what let the individual words in a slug be recognised.

How does the length limit avoid cutting a word in half?

It trims back to the previous separator — but only when the cut actually lands inside a word. If the limit falls exactly on a word boundary the last word is kept, rather than being thrown away for nothing.

Why does it warn about duplicate slugs?

Because two pages cannot share a URL. Different titles collapsing to the same slug is easy to miss in a long list and awkward to discover after publishing, so any collision is flagged.

Related tools