Skip to content

URL Slug Generator

Convert any text into a clean, URL-safe slug.

Input Text

Enter one line per slug

Slug Output

About the URL Slug Generator

Turn any title into a clean, URL-safe slug. A slug is the readable part of a URL that identifies a page — lowercase, hyphen-separated, no accents or punctuation — and getting it right matters because a descriptive URL is both a small ranking signal and a large usability one.

How to use it

  1. 1 Paste your title or heading into the input.
  2. 2 The slug is generated as you type.
  3. 3 Adjust the separator or casing if your platform expects something different.
  4. 4 Copy the slug into your CMS or route definition.

What it does

  • Accent and diacritic transliteration (é becomes e)
  • Configurable separator and lowercasing
  • Punctuation and duplicate-separator cleanup
  • Optional stop-word removal for shorter URLs

Frequently asked questions

Is my text sent anywhere?

No. Every calculation happens locally in your browser using JavaScript. Nothing you paste is uploaded, logged, or stored on a server, which makes the tool safe to use with production data, credentials, and customer records.

Should I use hyphens or underscores in a URL?

Hyphens. Google has been explicit about this for years: hyphens are treated as word separators while underscores are treated as word joiners, so my_blog_post can be read as a single token. Every major CMS defaults to hyphens for this reason.

How long should a URL slug be?

Long enough to describe the page, short enough to read at a glance — three to five meaningful words is a good target. Dropping stop words like "the" and "of" usually shortens it without losing sense. Avoid stuffing keywords; it reads as spam and does not help.

What happens to accented and non-Latin characters?

Accented Latin letters are transliterated to their base form, so "Café" becomes "cafe". Non-Latin scripts can either be percent-encoded, which is valid but produces an unreadable URL, or romanised. Most CMS platforms romanise, and that is what this tool does where it can.

Can I change a slug after publishing?

You can, but treat it as a migration. Changing a URL breaks every existing link and drops the page's accumulated ranking unless you add a 301 redirect from the old slug to the new one. Set the redirect at the same time as the change, not later.