Text tools · free · no signup

Slug Generator

Turn a title into a clean, lowercase, URL-friendly slug. Your work stays on this device whenever possible.

Free to useNo accountClear results
Preparing tool…
Simple, transparent workflow

How to use Slug Generator

  1. Type or paste a title into "Text to convert to slug (or one per line for batch)".
  2. Choose a "Separator": Hyphen (-), Underscore (_), Slash (/) or None (joined).
  3. Enter "Max length per slug (0 = no limit)" if your CMS caps URL length; the cut removes any dangling separator at the end.
  4. Tick "Force lowercase", "Remove common English stop words" and, for a list of titles, "Batch mode (convert each line separately)".
  5. Press "Generate URL Slug", then "Download TXT" to save every slug in one file.

Worked example

Input "Café Ünïcode & Tips: 10 Ways!" with Hyphen and lowercase gives cafe-unicode-and-tips-10-ways. Ticking the stop-word option gives cafe-unicode-tips-10-ways. Setting Max length 20 on the first version gives cafe-unicode-and-tip, and the Underscore separator gives cafe_unicode_and_tips_10_ways. Batch mode with the same setting would convert each pasted line separately and return one slug per line.

When to use this tool

  • Turning a blog headline with an ampersand and accents into a clean permalink.
  • Batch-converting fifty product names, one per line, for a catalogue import.
  • Producing underscore-separated file names from meeting titles.

Important limitations

Accented characters are transliterated to basic ASCII (NFKD decomposition). Reserved URL characters and non-alphanumeric symbols are cleanly replaced with your chosen separator.

Frequently asked questions

How are accented and non-Latin letters handled?

Accents are stripped, so Café becomes cafe, & becomes "and" and ß becomes "ss". Letters from other scripts such as Greek, Cyrillic or Chinese are kept as they are and not transliterated, so the slug may contain those characters.

Which stop words are removed?

A fixed list of 29 short English words: a, about, an, and, are, as, at, be, by, for, from, how, in, is, it, of, on, or, that, the, this, to, was, what, when, where, who, will and with. A word stuck to punctuation, like "the,", is not matched.

Does Max length cut in the middle of a word?

Yes, it counts characters and cuts at the limit, then trims trailing separators. A limit of 20 turns "cafe-unicode-and-tips-10-ways" into "cafe-unicode-and-tip", so choose limits with a word boundary in mind.

Are duplicate slugs detected in batch mode?

No. Every line is converted on its own, so two titles that reduce to the same slug produce identical results. Check for collisions before importing them into a site.

Which separator is best for URLs?

Hyphens are the usual choice because they read as word breaks. Choosing None glues words together, and Slash builds path-like strings with the outer slashes trimmed.