Slug Generator: Turning Titles into URL-Friendly Strings
A 'slug' is the URL-safe portion of an address β 'Best Hiking Trails in Korea' becomes 'best-hiking-trails-in-korea'. Good slugs are lowercase, hyphenated, free of special characters, and short enough to read.
Slug generators handle the conversion automatically: lowercase, replace spaces with hyphens, strip punctuation, transliterate accented and non-Latin characters when possible. The result is a string that's safe in any URL and easy for humans to read.
Slug rules to follow
- β’Lowercase only β case-sensitive URLs are confusing
- β’Hyphens (not underscores) between words β Google explicitly recommends this
- β’ASCII only when possible β non-ASCII URLs work but get encoded into messy %-strings
- β’Keep under 60 characters β long slugs get truncated in search results
- β’Avoid filler words ('a', 'the', 'in') for SEO compactness
Extended FAQ
How does it handle Korean characters?
Two options: keep them as-is (modern URLs handle this fine but get encoded as %xx in some places), or romanize them (νκ΅ β 'hanguk').
Are my pasted titles stored?
No β runs entirely in your browser.
