Slug Generator
Turn any title into a clean, URL-safe slug — lowercase, hyphenated, and accent-free.
About this tool
The Slug Generator converts any string of text — a blog post title, product name, or page heading — into a clean, URL-safe slug suitable for use in a route path. It lowercases the text, replaces spaces and underscores with your chosen separator, strips characters that aren't alphanumeric or the separator, collapses repeated separators into one, and trims any leading or trailing separator characters.
A common gotcha with slug generation is accented and non-Latin characters: "Pokémon" naively slugifies to "pok-mon" if the é is simply stripped. This tool includes an optional transliteration step that decomposes accented characters into their base letter plus a combining diacritical mark, then strips the mark — so é becomes e, ñ becomes n — before the rest of the slugification runs.
Options let you choose hyphens or underscores as the separator (hyphens are the SEO-standard convention), toggle lowercasing on or off, and toggle transliteration independently.
This is the exact kind of transformation frameworks like Next.js, WordPress, and Shopify perform automatically when you save a post — this tool lets you preview or generate that slug manually, entirely in your browser.
