Skip to content

Generate a URL Slug

Turn a title into a clean URL slug, converting accented letters rather than deleting them.

Runs entirely in your browser — nothing is uploaded

Accents are converted, not deleted

“Café” should become cafe. A plain ASCII filter deletes the accented character instead and gives you caf, which is wrong in every language that uses diacritics — and that is most of them.

This decomposes each letter into its base plus the accent mark and then drops only the mark, so Portuguese, French, Spanish and Nordic titles come out readable rather than mangled.

What makes a good slug

Short, readable, and stable. Three to six words is plenty; a slug that repeats the whole headline adds length without adding meaning. Stop words like “the” and “a” can usually go.

Above all it should not change. A slug is a permanent address, and editing one breaks every link and every share that already points at it.

Hyphens rather than underscores

Google has been explicit about this for years: hyphens separate words in a URL and underscores do not. blue-widgets reads as two words, blue_widgets reads as one.

Underscores are here because file systems and some frameworks prefer them, but for a public URL, hyphens are the answer.

Nothing is sent anywhere

Everything on this page happens in your own browser. No request is made, nothing is stored between visits, and the page keeps working with the connection switched off.

Frequently asked questions

Should slugs be lowercase?

Yes. URLs are case-sensitive after the domain, so /About and /about can be two different pages, and that is a source of duplicate content and broken links. Lowercase everything.

How long should a slug be?

Short enough to read in a search result. Three to six words is a good target. There is no hard limit, but very long slugs get truncated in listings and shared links.

Can I change a slug later?

You can, but every existing link to the old one breaks unless you set up a redirect. Treat a published slug as permanent.

Is anything sent anywhere?

No. It happens in this tab.