Free Text to URL Slug

Good URLs are short, lowercase and readable. Paste any headline and this free generator builds an SEO-friendly slug — accents stripped, words joined by your chosen separator, no unsafe characters left behind.

Private by design. This tool runs 100% in your browser — your text is never uploaded to any server.

How to Use the Text to URL Slug

  1. Paste your headline or page title.
  2. Choose dash or underscore separator.
  3. Toggle lowercase and accent removal as needed.
  4. Click “Generate slug” and copy it.

Features

Unicode NFD accent stripping (é → e, ü → u), optional forced lowercase, dash or underscore separators, and collapsing of repeated separators. Trims leading/trailing separators so output is always clean and URL-safe.

Benefits & Use Cases

Bloggers create slugs for every post without thinking. E-commerce teams generate product URL handles. Developers build slug functions and need a reference implementation. SEO writers keep URLs keyword-rich and readable.

Tips

Dashes are the SEO-recommended separator — Google treats them as word breaks, unlike underscores. Keep slugs under 60 characters; trim filler words like “and” or “the”. Accent stripping avoids percent-encoded gibberish in URLs.

Frequently Asked Questions

Is the slug generator free?

Yes, free and unlimited.

Should I use dashes or underscores?

Dashes. Search engines treat dashes as word separators; underscores are not.

How are accents handled?

With accent removal on (default), é becomes e, ñ becomes n, and so on.

What characters are removed?

Anything not a letter or digit becomes the separator — no spaces or unsafe symbols survive.

Is my headline uploaded?

No, slug generation runs locally.

Related Tools