TanodTools

URL slug generator

Type a title and get a clean, readable slug for a web address, with accents converted and punctuation removed.

Runs entirely in your browser

example.com/your-slug-here

Separator
Cut at a whole word. Leave empty for no limit.

Type a title to begin.

Up to 10,000 lines at a time; each line becomes its own slug.

How to make a URL slug

  1. Type or paste a title. For several slugs at once, put each title on its own line.
  2. Choose the separator and options such as lower case, a length limit or dropping small words like "the" and "of".
  3. Copy the slug, or download all of them as a .txt file.

How the slug is made

Each line of text goes through the same steps. Accented letters are converted to their plain Latin form and Greek and Cyrillic letters are transliterated, so "Crème brûlée" becomes "creme-brulee" and "Москва" becomes "moskva". Apostrophes are removed without leaving a gap, so "don't" stays one word. Every other run of spaces and punctuation becomes a single separator, and separators at the start and end are trimmed.

The preview shows the slug as it would appear at the end of a web address. Keep slugs short and descriptive: a few words that say what the page is about are easier to read, share and remember than a full headline.

Changing a published page's slug changes its address, so links to the old address break unless the site redirects them. Pick the slug before you publish where you can.

Tips

Questions

What is a URL slug?

The slug is the readable part of a web address that names one page, such as how-to-bake-bread in example.com/blog/how-to-bake-bread. A good slug is short, lower case, uses hyphens between words and contains only letters and digits, so it reads clearly and never needs escaping.

What happens to accents and special letters?

Accented letters become their plain form (é to e, ü to u, ñ to n), and letters such as ß, æ, ø and ł become ss, ae, o and l. Greek and Cyrillic letters are transliterated to Latin. Characters with no Latin equivalent, such as Chinese or Arabic, are dropped when ASCII only is on; turn it off to keep them, and browsers will show them as typed.

Should I use hyphens or underscores?

Hyphens. Search engines treat a hyphen as a space between words, while an underscore can join the words into one. Underscores are still common for file names and some systems, so both are offered.

Should I remove small words like "the" and "and"?

It is optional. Dropping them makes slugs shorter, but a slug that still reads as a phrase is easier to understand. The option removes a short list of English words (a, an, the, and, or, of, to, in, on, at, for, with and a few more) unless the slug would end up empty.

How does the length limit work?

The slug is cut at the last whole word that fits, so you never get half a word at the end. Only a single word longer than the limit is cut mid-word.

Is my text uploaded?

No. The slugs are made in your browser, and the text is not uploaded or stored.