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

TitleSlug
How to Make Pastahow-to-make-pasta
Best Coffee Shops in Londonbest-coffee-shops-london
The Ultimate Guide to SEOultimate-guide-seo
What's the Difference?whats-the-difference
10 Tips for Better Sleep10-tips-better-sleep
CafΓ© & Bistro Reviewscafe-bistro-reviews
Β£10 Wines for Christmas10-wines-for-christmas
Python vs JavaScriptpython-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.

More tools β†’