Paste any headline, title, or phrase and get back a clean, URL-safe slug in one click. The generator lowercases everything, replaces spaces and punctuation with hyphens, strips accents and diacritics, and removes characters that break URLs — so you're left with something browsers, servers, and search engines all handle without complaint.
Why slugs matter for SEO
The path segment of a URL is one of the few on-page signals Google reads before it even fetches the page. A slug like /blog/how-to-choose-a-crm tells the crawler exactly what the page is about; a slug like /blog/post-1847 tells it nothing. Descriptive, keyword-rich slugs contribute to click-through rate too — they show up in search results and give readers a second chance to confirm they're clicking the right link.
Search engines also penalize URLs with encoded characters like %20 or %2B. A proper slug uses only lowercase letters, numbers, and hyphens — the format that ranks and renders cleanly everywhere.
What the generator handles
- Spaces — replaced with hyphens, regardless of how many
- Accented characters —
é,ü,ñ,øand similar are converted to their plain ASCII equivalents before processing - Special characters —
!,?,',",#,@and everything else outside[a-z0-9-]is removed - Leading and trailing hyphens — trimmed automatically so you never get a slug that starts or ends with
- - Consecutive hyphens — collapsed to a single
-soword--wordbecomesword-word - Case — everything is lowercased;
My Great Postbecomesmy-great-post
How to use it
Type or paste your text into the input field. The slug updates in real time as you type — no button needed. Click Copy to put the result on your clipboard, then drop it straight into your CMS, framework route, or database.
The tool runs entirely in your browser. Nothing is sent to a server, there's no rate limit, and it works offline once the page has loaded. Free with no sign-in required.
Common use cases
- Blog posts — turn a working title into a permanent permalink before you publish
- CMS entries — generate the slug field for Contentful, Sanity, WordPress, or any headless CMS
- E-commerce — create clean product URLs for Shopify, WooCommerce, or a custom storefront
- Framework routes — build file names for Next.js, Nuxt, Astro, or SvelteKit dynamic routes
- Database IDs — produce human-readable record identifiers that double as public-facing URLs