Text to Slug

Turn a page title into a clean URL slug: lowercase, hyphenated, with accents handled.

How to use Text to Slug

  1. Enter your page title or text into the box.
  2. The URL-friendly slug appears automatically — lowercase, hyphenated, with accents converted.
  3. Copy the generated slug.

Frequently asked questions

What happens to underscores in the text?

They're treated the same as spaces and hyphens — any run of underscores, spaces, or hyphens collapses into a single hyphen, so "hello_world" becomes "hello-world" just like "hello world" does.

What happens to accented letters, like é or ñ?

They get stripped out entirely rather than converted to their plain equivalent — the cleanup pattern only keeps ASCII letters, digits, underscores, spaces, and hyphens, so "café" becomes "caf", not "cafe".

Why don't I ever see a slug that starts or ends with a hyphen?

Any hyphen left at the very start or end after cleanup is trimmed off, so punctuation at the edges of your text never leaks into the slug as a stray dash.

Community

Loading...