URL Slug Generator
Convert any title to a clean URL slug. Handles Unicode (transliterates é→e, ç→c, etc.), configurable separator and case, optional max-length trim. Useful for blog post URLs, file names, S3 keys, anything where you need a safe ASCII identifier from arbitrary text.
How to use the URL Slug Generator
Type or paste any title. The slug updates as you type. Configure separator (hyphen is web-standard; underscore for filesystems; dot for some package managers), case (lowercase recommended for URLs), and an optional max length (0 = no limit). For SEO, keep slugs under 60 characters and front-load keywords.
What makes a good URL slug
A URL slug is the part of a URL that identifies a specific page in a human-readable way. /blog/cdn-caching-seo/ is a slug. /blog/post?id=4271 is not.
Slugs help SEO modestly — having keywords in the URL is a small ranking signal. They help users much more: a readable URL is easier to share, type, remember, and link to. Slugs also matter for analytics: a session report grouped by URL is useless if every URL is a numeric ID.
Conventions: lowercase, hyphens (not underscores — Google still treats hyphens as word separators and underscores as join characters), no trailing punctuation, ASCII only (browsers handle Unicode URLs but copy/paste and analytics often mangle them), under 60 characters.
Common use cases
- Blog post URLs from titles
- Filenames from human-readable names
- S3 keys, Cloudflare worker route patterns
- Database "natural keys" for entities you want stable URLs for
- Branch names from issue titles in Git