URL Slug Generator - SEO-Friendly URLs

Convert any text into a clean, URL-friendly slug for blog posts, pages, and SEO. Handles special characters and Unicode.

Runs in your browser. No data leaves your device.

About this tool

Turns a title or phrase into a URL slug, such as "My Blog Post Title!" -> "my-blog-post-title". Use it for blog post URLs, file names or identifiers.

Features
  • Strips accents by Unicode NFD normalization and removal of combining marks (e.g. "cafe" with an accent -> "cafe")
  • Transliterates letters that do not decompose (German sharp s -> ss, ae, oe, o with stroke, Polish l with stroke, eth, thorn)
  • Apostrophes join words ("Don't" -> "dont"); every other run of spaces, punctuation or symbols becomes one separator, so "rock&roll" -> "rock-roll" and "foo-bar baz" -> "foo-bar-baz"
  • Trims separators from both ends
  • Separator choice: dash (-), underscore (_) or dot (.)
  • Lowercase toggle (on by default)
  • Live result with copy and pipeline buttons
How to use it
  1. Type or paste a title.
  2. Choose a separator and whether to lowercase.
  3. Copy the slug.
Inputs
  • Any text, usually a title
Outputs
  • A single slug string
Limits and notes
  • Non-Latin scripts (Cyrillic, Greek, Chinese...) are removed, not transliterated; the page says so when nothing is left.
  • No maximum length and no stop-word removal.
  • Text is not saved and nothing is uploaded.

Frequently Asked Questions

How does the Slug Generator work?

The text is normalized with String.normalize("NFD") and combining accent marks are removed, so accented letters become plain ASCII letters, and letters such as the German sharp s are transliterated (ss). Apostrophes are dropped, every other run of spaces, punctuation or symbols becomes your chosen separator (dash, underscore or dot), and the ends are trimmed. Finally the slug is lowercased unless you turn the Lowercase toggle off.

What is a URL slug?

A slug is the URL-friendly version of a title or heading. For example, "My Blog Post Title!" becomes "my-blog-post-title". Slugs use only lowercase letters, numbers, and hyphens.

Why are slugs important for SEO?

Search engines use the URL path as a ranking signal. Clean, readable slugs that contain relevant keywords perform better than auto-generated IDs or encoded character strings.

Does it handle special characters and accents?

Accented Latin letters are reduced to their base letter (for example, an accented e becomes e), German sharp s, ae, o with stroke and similar letters are transliterated, and symbols like &, @ and # become a separator. Cyrillic, Greek and Chinese letters are removed rather than transliterated.