Generate clean URL slugs

Paste one title per line and get web-safe slugs back. Accented Latin, Greek and Cyrillic characters are transliterated rather than deleted, punctuation and emoji are removed, and repeated separators are collapsed. Choose hyphens or underscores and cap the length so slugs stay readable.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Slug Generator

  1. Paste one title per line.
  2. Pick a separator — hyphens for public URLs.
  3. Optionally set a maximum length; the slug is trimmed at a word boundary.
  4. Copy the slugs, one per input line, in the same order.

What makes a good slug

A slug is the human-readable part of a URL: everything after the last slash in example.com/blog/how-to-bleed-a-radiator. A good one is lowercase, uses hyphens, contains the words a reader would search for, and is short enough to survive being pasted into a message without wrapping. Three to six words is a sensible target; anything past about 60 characters adds nothing and gets truncated in search results and social previews.

Hyphens, not underscores

Google has stated for years that hyphens are treated as word separators while underscores join words together, so red_shoes can be read as one token and red-shoes as two. Hyphens are also the convention in every major CMS. Underscores remain the right choice inside code, file names and database identifiers, which is why the option is here.

Transliteration, not deletion

Naive slug tools strip anything that is not ASCII, which turns "Café Crème" into "caf-crme" and a Russian headline into an empty string. This tool decomposes Unicode first and removes only the combining accent, so é becomes e and ñ becomes n, then applies a transliteration table for characters that have no base letter: ß becomes ss, æ becomes ae, ø becomes o, ł becomes l, and Greek and Cyrillic letters map to their usual Latin equivalents (ж to zh, щ to shch, θ to th).

InputSlug
Café Crème & Co.cafe-creme-and-co
50% Off — Today Only!50-percent-off-today-only
Straße für Fußgängerstrasse-fur-fussganger
Москва сегодняmoskva-segodnya

Symbols that carry meaning

Deleting &, % and currency signs loses information a searcher might type. With the spell-out option on, "R&B" becomes r-and-b and "50% off" becomes 50-percent-off, which reads properly and matches real queries.

Changing a slug later

A slug is part of a URL, so editing one on a published page breaks every existing link to it and discards whatever ranking that URL had. If you must change it, publish a 301 redirect from the old path to the new one. This is the reason to avoid putting dates, years or prices in a slug: /guide-2025 forces a rename twelve months later, while /guide can be updated in place forever.

Frequently asked questions

Should slugs contain stop words like "the" and "of"?

It rarely matters for ranking. Remove them if the slug is long, keep them if dropping them makes the phrase read oddly.

How long should a slug be?

Three to six words, under about 60 characters. Longer slugs get truncated in search results and add no ranking benefit.

What happens to Chinese, Japanese or Arabic text?

Those scripts have no standard Latin transliteration here, so the characters are dropped and you get an empty or partial slug. Supply an English title for those pages, or keep the native characters in the URL — modern browsers handle them.

Can I change a slug after publishing?

You can, but add a 301 redirect from the old URL. Without one, existing links break and the page loses its search history.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.