URL Slug Generator




Turn any title into a clean URL slug

Type a headline or phrase and get a tidy, SEO-friendly URL slug instantly. Accented letters are folded to plain ASCII (so Café becomes cafe), punctuation and symbols are stripped, and spaces collapse to a single separator. Choose a hyphen or underscore, keep or drop lowercasing, and optionally cap the length at a word boundary.

Frequently Asked Questions

Why are hyphens better than underscores in URLs?

Search engines treat a hyphen as a word separator but an underscore as a word joiner, so my-blog-post reads as three words while my_blog_post can read as one. Hyphen is the safer default — the underscore option is there when a system requires it.

What happens to accents and emoji?

Accented characters are normalised and folded to their base letter; emoji and other symbols are removed entirely, leaving a clean a–z 0–9 slug.

Does “max length” cut words in half?

No — if a limit is set, it trims back to the last separator before the limit where possible, so the slug ends on a whole word.

Is my data private?

Yes — it’s pure client-side JavaScript. Nothing is uploaded, logged or stored.