Slug Generator

Turn titles into short, readable URL slugs, one per line, in any language.

Runs in your browser. Nothing is uploaded.

Updated

TitlesProcessed in your browser
Your text stays on this device. No upload required.

How to use Slug Generator

  1. Type or paste one title per line.
  2. Choose the separator, length limit and other options.
  3. Copy or download the slugs.

Slug Generator at a glance

Typical use: Make the slug crème-brûlée-recipe → creme-brulee-recipe for a blog post.

Runs in your browser; nothing is sent anywhere.

What makes a good slug

  • Short and readable: the main words of the title, so people and search engines can tell what the page is about from the address alone.
  • Hyphens between words. Google recommends hyphens over underscores, which can join words together.
  • Lower case: many servers treat /About and /about as two different pages.
  • Stable: once a page is published, changing its slug breaks links unless you add a redirect.

How text becomes a slug

  • Accents are removed (é → e, ñ → n) and special letters written out (ß → ss, æ → ae, ł → l). With “German style”, ä, ö and ü become ae, oe and ue.
  • Cyrillic and Greek are written in Latin letters: Привет мир → privet-mir, Ελλάδα → ellada. Chinese, Japanese, Korean, Arabic, Hindi and other scripts are kept as they are (browsers show them in the address bar), or removed if you untick that option.
  • Apostrophes inside words disappear (don’t → dont); &, %, @ and + can be written as words. Everything else that isn’t a letter or digit becomes a single separator.
  • A maximum length cuts between words, never in the middle of one.

Slug Generator examples

  • 10 Tips & Tricks for Faster Wi-Fi (2026) → 10-tips-and-tricks-for-faster-wi-fi-2026
  • With “Remove short English words”: The Art of the Deal → art-deal
  • Crème brûlée: the easy recipe with a 20-character limit → creme-brulee-the
  • Several titles, one per line, give one slug each; repeated titles become hello-world, hello-world-2…

Prefer the terminal?

The same in Python with the python-slugify package:

pip install python-slugify
python3 -c "from slugify import slugify; print(slugify('Crème brûlée: the easy recipe'))"

Prints creme-brulee-the-easy-recipe. python-slugify writes Cyrillic slightly differently (я as ia rather than ya), and with max_length it skips a long word and carries on with shorter ones; this page stops at the last word that fits.

Frequently asked questions

Hyphens or underscores?

Hyphens. Google’s URL guidelines recommend hyphens to separate words, because underscores can be read as part of one word.

Should slugs be short?

Short enough to read at a glance, usually three to six words. Words like “the” and “of” can go if the slug still makes sense; the length limit option helps keep a series of pages consistent.

Can a slug contain non-English letters?

Yes. Modern browsers and search engines handle letters such as é or 東京 in addresses; they travel as %-codes behind the scenes. Plain a–z slugs are easier to type and share, which is why converting is the default.

Is my text sent anywhere?

No. Slugs are made in your browser as you type; nothing is sent to our server.