Slug Generator
Convert any title or text into a clean, SEO-friendly URL slug. Supports hyphen and underscore separators, strips accents — instant and free.
What is a URL Slug?
A URL slug is the human-readable part of a web address that identifies a specific page, typically derived from the page title. Slugs use only lowercase letters, numbers, and hyphens — no spaces or special characters. For example, the title “My Blog Post (2024)” becomes the slug my-blog-post-2024.
Slug Best Practices
- Use hyphens, not underscores — Google treats hyphens as word separators
- Keep it short — ideally 3–5 words; long slugs get truncated in search results
- Include the focus keyword near the beginning of the slug for SEO benefit
- Avoid stop words like “a”, “the”, “and” when possible
- Never change a published slug without setting up a 301 redirect
Frequently Asked Questions
Should I use hyphens or underscores in slugs?
Hyphens are strongly preferred. Google’s John Mueller has confirmed that Google treats hyphens as word separators (like spaces), while underscores are treated as connecting characters — meaning my_page is seen as one word “mypage”, not two.
Does this tool handle accented characters?
Yes. The generator strips diacritics (e.g. é → e, ü → u, ñ → n) using Unicode NFD normalization, producing clean ASCII slugs.
