Skip to content
Jellykit

Slug Generator

Turn titles into clean URL slugs: accents removed, lowercase, words joined by hyphens and cut to a sensible length.

  • Runs on your device
Loading tool

About Slug Generator

A good web address reads like the page title without the clutter. Paste a title such as "Crème Brûlée: A Beginner’s Guide" and get creme-brulee-a-beginners-guide, ready for a blog post, product page or file name.

Accents are removed (é becomes e), letters such as ß, æ and ø are spelled out, punctuation and spaces become a single separator, and long titles are cut at the last whole word that fits. Put several titles on separate lines to make several slugs at once.

How it works

  1. Letters with accents are broken into the base letter and its accent, using Unicode normalisation, and the accent is dropped. Letters with no accent to remove, such as ß, æ, ø, ł and þ, are replaced by their usual spellings.
  2. Apostrophes are removed so contractions stay whole; every other run of spaces and punctuation becomes one hyphen or underscore, and none is left at either end.
  3. If the slug is longer than the maximum, it is cut back to the last whole word that fits. A single word longer than the limit is cut at the limit.

Questions

What happens to Cyrillic, Greek, Chinese or other scripts?

They are not transliterated. With "Latin letters and digits only" on, letters from other scripts are dropped; turn it off to keep them, which gives an internationalised address that browsers display but encode when sent.

What maximum length should I use?

Slugs of a few words are easiest to read and share. The default of 80 characters keeps most titles whole and trims only the longest; set 0 to turn the limit off.

Are words such as "a" and "the" removed?

No. Every word is kept, so the slug always matches the title. Delete words you do not want from the title or the result.

Is "&" turned into "and"?

No. It is treated like any other punctuation and becomes a separator, because the right word depends on the language. Write "and" in the title if you want it in the slug.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.