URL slug generator

Turn a title into a URL slug: lower case, hyphens, no accents or punctuation.

Runs in your browser. Your input is not uploaded.

What it does

A slug is the readable part of a URL that identifies a page: /blog/creme-brulee-10-tips. Good slugs are lower case, use hyphens, and contain only ASCII letters and digits.

This tool removes accents (é becomes e), turns & into “and”, drops punctuation and collapses spaces into single separators. Each line becomes its own slug.

How to use it

  1. Paste one title per line.
  2. Choose the separator and an optional maximum length.
  3. Copy the slugs.

Example

Input
Crème Brûlée: 10 tips!
Output
creme-brulee-10-tips

Things to watch for

  • Letters with no ASCII equivalent, such as Chinese or Arabic, are removed. For those languages consider keeping Unicode slugs and percent-encoding them.
  • Changing a published slug breaks links. Add a redirect from the old URL.

Questions

Hyphens or underscores?
Hyphens. Google treats a hyphen as a word separator and an underscore as part of the word.
Should slugs be lower case?
Yes. URL paths are case-sensitive on most servers, and mixed case causes duplicate URLs.
How long should a slug be?
Short enough to read: three to six words is common. The maximum length option cuts at a word boundary.
Are stop words removed?
No. Removing “the” and “a” can change meaning. Edit the result if you want them gone.