URL Slug Generator

Convert any text into a clean, SEO-friendly URL slug

Quick examples:

Generated Slug

hello-world-this-is-a-blog-post

URL preview:

https://example.com/hello-world-this-is-a-blog-post
Length: 31 charsWords: 7

About the Slug Generator

This slug generator turns a title into a clean URL segment: lowercased, punctuation stripped, spaces replaced with hyphens, and accented characters transliterated to plain ASCII rather than percent-encoded. Both the separator and the case style are configurable to suit your platform.

A slug generator produces the readable part of a URL from a title. Slugs need to be lowercase, free of spaces and punctuation, and stable — because changing one later breaks every existing link and any accumulated ranking.

Accents are the detail that catches people out. A title containing "café" or "Müller" has to become cafe and muller rather than percent-encoded gibberish, so the characters are transliterated to their closest ASCII equivalents instead of being escaped or dropped.

Hyphens are the right separator for the web: search engines treat them as word boundaries while underscores are read as part of a word. Keep slugs short and descriptive — the first few words carry the meaning, and trailing stop-words add length without value.

How to use the Slug Generator

  1. Paste your title. Enter the heading or title you want as a slug.
  2. Choose the separator. Hyphen for web URLs; underscore or dot if a system requires it.
  3. Set the case style. Lowercase is standard for URLs.
  4. Copy the slug. Take the generated slug for your URL or filename.

Slug Generator features

  • Separator choice: hyphen, underscore, dot, slash or none
  • Case choice: lowercase, uppercase or Title-Case
  • Optional prefix and suffix
  • Accented characters transliterated to plain ASCII
  • Punctuation stripped and repeated separators collapsed
  • Copy the result

Frequently asked questions

What does it change about my title?

Case is normalised, punctuation is dropped, spaces become your chosen separator, repeated separators are collapsed to one, and accented characters are transliterated — café becomes cafe rather than caf%C3%A9.

Why transliterate instead of percent-encoding?

Because a percent-encoded URL is unreadable and unshareable. A slug is meant to be legible in a browser bar, an email and a search result, and transliteration keeps it that way.

Hyphens or underscores?

Hyphens. Search engines have long treated hyphens as word separators and underscores as word joiners, so my-page-title reads as three words and my_page_title can read as one.

Should I edit the slug after generating it?

Often, yes. A slug generated from a long headline carries filler words that add length without meaning. Trimming it to the two or three words that matter usually makes a better URL — and a URL, once published, should not change.