Slug Generator
Convert any title or text into a clean URL-friendly slug. Options for separator style, max length and accent transliteration. Copy to clipboard instantly.
What's a URL Slug?
A slug is the URL-friendly version of a page title. Example: 'How to Make Bread' becomes 'how-to-make-bread' in the URL. Conversion rules: lowercase only, replace spaces with hyphens, remove punctuation, encode special characters. Avoid: stop words ('the', 'a', 'an'), redundant words, very long slugs (over 5 words rarely beneficial).
Slugs matter for SEO, sharing, and user experience. A clean slug like 'best-coffee-shops-london' tells users (and search engines) the page topic instantly. Compare to '/post/12345' which is opaque. Modern CMS systems auto-generate slugs from titles but allow editing - take the time to craft a focused slug for important pages.
Title to Slug Examples
| Title | Slug |
|---|---|
| How to Make Pasta | how-to-make-pasta |
| Best Coffee Shops in London | best-coffee-shops-london |
| The Ultimate Guide to SEO | ultimate-guide-seo |
| What's the Difference? | whats-the-difference |
| 10 Tips for Better Sleep | 10-tips-better-sleep |
| CafΓ© & Bistro Reviews | cafe-bistro-reviews |
| Β£10 Wines for Christmas | 10-wines-for-christmas |
| Python vs JavaScript | python-vs-javascript |
Frequently Asked Questions
Should I include stop words?
Mostly remove for cleaner slugs ('the-best-recipes' β 'best-recipes'). Keep when they change meaning ('how-to-cook' is fine; 'how' is integral). SEO impact of stop word removal is minor; readability impact is positive.
How long should a slug be?
5 words or fewer typically. Some SEO experts recommend 3-5 words. Longer slugs work but provide diminishing returns and clutter URLs. The page title can be longer than the slug; the slug is a clean, focused URL identifier.
Related Tools
Case Converter
Convert text between 10 different cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case
Word Counter
Count words, characters, sentences and paragraphs in your text. Includes reading time, speaking time and word frequency analysis.
Lorem Ipsum Generator
Generate placeholder lorem ipsum text by paragraphs, sentences or words. Copy to clipboard with word and character count display