All tools Text

Slug Generator

Turn a title into a clean URL slug.

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Type or paste the title into the Title field.
  2. Turn the Lowercase option on or off.
  3. Copy the generated slug.

Details

The generator turns a title into a URL slug as you type. Letters in any language, numbers and hyphens are kept; spaces become single hyphens with duplicates collapsed, and every other character becomes a hyphen or is dropped. The result is the readable address style used for blog posts, product pages and documentation links, without characters that need URL-encoding.

  • Lowercase is the convention for slugs and avoids case-sensitivity mismatches between servers.
  • Shorter slugs are easier to share and to type, so trim filler words from the title before generating.

Common questions

Which characters are kept?

Letters in any language, numbers, and hyphens. Everything else becomes a hyphen or is dropped.

How are spaces handled?

Converted to single hyphens, with duplicates collapsed.