Slug Generator
Turn any title into a clean, SEO-friendly URL slug — lowercase, hyphenated and accent-free.
Turn any title into a clean URL slug
The Slug Generator converts a title or phrase into a clean, SEO-friendly URL slug. It lowercases the text, strips accents and special characters, and replaces spaces with your chosen separator — giving you a tidy, readable slug ready to paste into your CMS. Everything happens instantly in your browser.
What is a URL slug?
A slug is the human-readable part of a URL that identifies a page, like best-coffee-recipes in example.com/blog/best-coffee-recipes. A good slug is short, descriptive, and made only of lowercase letters, numbers, and hyphens. It helps both users and search engines understand what the page is about before they even open it.
How to use it
- Type or paste your title.
- Choose a separator — hyphen (recommended) or underscore.
- Toggle lowercase, then copy your clean slug.
What makes a good slug
| Do | Avoid |
|---|---|
| Lowercase letters | Uppercase (causes duplicate URLs) |
| Hyphens between words | Spaces or underscores |
| Your main keyword | Stop words and filler |
| Short and descriptive | Long, rambling slugs |
Why hyphens, not underscores?
Google treats hyphens as word separators but underscores as word joiners, so best-coffee is read as two words while best_coffee can be read as one. For SEO, hyphens are the recommended choice — which is why this tool defaults to them. The underscore option is available for systems that specifically require it.
Slug best practices
- Keep it short. Trim stop words like "the" and "and" where possible.
- Include the keyword. The slug is a small but real ranking and relevance signal.
- Do not change published slugs without setting up a redirect, or you will break links.
- Stay consistent across your site for clean, predictable URLs.
Private and free
The generator runs entirely in your browser. Nothing is uploaded, there is no sign-up, and it is completely free.
Frequently asked questions
What characters does a slug allow?
Lowercase letters, numbers, and a separator (usually a hyphen). Accents and special characters are stripped or converted.
Should I use hyphens or underscores?
Hyphens. Google treats them as word separators, which is better for SEO. Underscores can join words together.
Can I change a slug after publishing?
You can, but set up a 301 redirect from the old slug so existing links and rankings are not lost.
Is it free?
Yes, completely free with no sign-up, running entirely in your browser.