URL Slug Generator: Turn Titles into Clean Slugs

Paste one title per line and click Generate. Each line becomes one slug, built with the slugify library in strict mode. Pick a dash, underscore or dot separator, and lowercase or preserved capitals.

Separator:
Case:
Paste your title(s) and click Generate to create URL slugs.

Runs in your browser: your files and text are not uploaded. Free, no account needed.

Last updated: · Reviewed by the QuickTooly Team

Slug Generator Guide

How a title becomes a slug

  1. Letters with accents and Cyrillic letters are transliterated with slugify's character map: é → e, ß → ss, ü → u, Привет → privet.
  2. Some symbols become words: & → and, % → percent, € → euro, ♥ → love.
  3. Strict mode removes everything that is not A–Z, a–z, 0–9 or whitespace. That includes hyphens, underscores, dots and apostrophes in your title, unless the character is the separator you picked.
  4. Spaces at both ends are trimmed, each run of whitespace becomes one separator, and the result is lowercased unless you choose Preserve.

Worked example

Crème Brûlée & Café: 50% off! with the dash separator gives creme-brulee-and-cafe-50percent-off. The accents are transliterated, & becomes "and", and the colon and exclamation mark are removed. The % sign turns into "percent" and sticks to 50 because there is no space between them. Write "50 percent" or delete the % sign if you want a separator there.

Choosing a separator

  • Dash: the usual choice for URLs. Google's URL structure guidelines recommend hyphens rather than underscores between words.
  • Underscore: suits file names and identifiers. Hyphens in the title are removed, so e-mail becomes email.
  • Dot: the only option that keeps dots from the title, so v1.2 release becomes v1.2.release. With a dash it becomes v12-release.

What the generator does not do

  • There is no length limit. Long titles produce long slugs, so shorten them by hand.
  • Stop words such as a, the and of are kept.
  • Scripts with no entry in the character map, such as Chinese, Japanese or Korean, are removed completely, which can leave an empty slug.
  • Identical slugs in a batch are not numbered or merged.

Slug generator questions

Why does "e-mail_address" become "e-mailaddress"?

Strict mode deletes every character that is not a letter, digit or space. The hyphen survives only because it matches the dash separator. The underscore does not match, so it is removed and the two words join. Replace underscores with spaces first, or pick the underscore separator.

Why is my slug empty?

The line contained only characters slugify cannot transliterate, such as Chinese or Japanese script, or only punctuation. Add a Latin-letter version of the title.

Does Preserve keep capital letters?

Yes. Preserve skips lowercasing, so "Hello World" becomes "Hello-World". URL paths are case-sensitive on many servers, so lowercase avoids two addresses for the same page.

Related text tools

  • Find and Replace: swap & or % for your own words before generating, if "and" or "percent" is not what you want.
  • Remove Duplicate Lines: paste a batch of slugs to spot the ones that came out identical.
  • Case Converter: kebab-case for code identifiers, where accents and punctuation should stay.