Text to Slug Converter
Convert any title or phrase into a clean, URL-friendly slug. Free, instant.
📝 Text Tools
Free
Browser-based
Separator:
How to Create a Good URL Slug
- Use only lowercase letters, numbers and hyphens.
- Replace spaces and punctuation with hyphens.
- Remove special characters like
&,@,%,#. - Avoid trailing or double hyphens.
- Keep it under 70 characters (3–5 words is ideal).
- Put the most important keyword near the start.
Slug Examples
| Original title | Good slug |
|---|---|
| How to Bake Sourdough Bread at Home | bake-sourdough-bread-home |
| 10 Best JavaScript Frameworks in 2025 | best-javascript-frameworks-2025 |
| CSS Grid vs Flexbox — Which to Use? | css-grid-vs-flexbox |
Hyphens vs Underscores in URLs
Google treats hyphens as word separators, while underscores join words into a single token. For maximum SEO benefit, always use hyphens in your slugs.