What it does
A slug is the URL-friendly version of a title — the part after your domain in a permalink, like /blog/my-first-post/. This tool takes whatever you type and, as you type, lowercases it, strips accents (café → cafe), converts every run of non-alphanumeric characters to a single hyphen, and trims hyphens from the start and end. The result is lowercase a–z, digits 0–9 and hyphens only.
How the transform works
Under the hood the text is Unicode-normalised (NFKD) so accented letters split into a base letter plus a combining mark; the marks are then removed, which is why é becomes e and ñ becomes n. After that, anything outside a–z0–9 — spaces, punctuation, em dashes, ampersands — becomes a hyphen, and consecutive hyphens collapse into one.
Worked examples
My First Blog Post — Café Edition! becomes my-first-blog-post-cafe-edition. Price: $20 (50% off) becomes price-20-50-off — note the symbols drop out rather than being spelled.
Matches WordPress
The rules mirror WordPress sanitize_title() for Latin text, so the slug you see here is what WordPress would store for a post with that title. One caveat: for non-Latin scripts the two diverge. Cyrillic, Greek, Arabic or CJK characters have no ASCII equivalent, so this tool drops them entirely, whereas WordPress can percent-encode them into the URL depending on your configuration. For those languages, treat the output as a starting point and set the slug by hand.
When to use it
Reach for it when you are choosing a permalink before publishing, renaming a page without leaving the editor, or generating slugs for a bulk import or a static site. If you instead need to percent-encode a value for a query string, use URL Encode & Decode.
Privacy
Everything runs locally in your browser; nothing is uploaded.