Slug Generator
Convert any phrase to a clean URL slug.
About Slug Generator
Slug Generator turns any phrase into a URL-safe slug — letters, digits, and a chosen separator (hyphen by default), with no spaces, no punctuation, and no accents. By default the slug is lowercased; toggle that off if you want to preserve case. It is the tool for the everyday job of making a clean URL from a blog post title, a product name, a category heading, a folder name, or any string that needs to live inside a web address.
Worked example: 'My First Blog Post! (2026)' becomes 'my-first-blog-post-2026'. 'Café au lait — €5' becomes 'cafe-au-lait-5'. The generator (in default mode) lowercases everything, strips punctuation, normalizes accented characters to their ASCII equivalents via Unicode NFD decomposition, collapses runs of separators, and joins the remaining words with the chosen separator. Trailing and leading separators are trimmed so the slug never starts or ends with one.
Two notes worth knowing. Hyphens are the web-wide default because they read well in URLs and search engines treat them as word boundaries; underscores, by contrast, are sometimes treated as part of a single token, which can hurt parsing. The separator can also be set to underscore or dot if your platform expects one of those. The slugifier handles accents via Unicode NFD decomposition (é → e), but does not transliterate non-Latin scripts — Chinese, Cyrillic, Arabic, and similar characters are stripped, so for non-Latin URLs you want a language-specific slugger. There is no built-in length cap; trim the slug yourself if your platform requires one (50–80 characters is good SEO practice).
All slugification runs in your browser. Drafts and unpublished titles are never uploaded.