Slug Generator
A URL slug is the readable part of a web address that identifies a page. This generator turns any title into a clean slug — lowercased, hyphen-separated, with accents normalized and punctuation stripped — so your URLs stay tidy, shareable, and search-friendly.
- Free — no sign-up
- Private — runs in your browser
- Instant results
How to use the Slug Generator
- 1Enter a title. Type or paste the page title or phrase.
- 2Adjust the separator. Use hyphens (recommended) or underscores between words.
- 3Copy the slug. Grab the generated slug for your CMS or route.
Frequently asked questions
Why are hyphens preferred over underscores in URLs?
Search engines treat hyphens as word separators, so 'blue-widgets' reads as two words. Underscores can join words together, which is less ideal for SEO.
What happens to accented or special characters?
Accented letters are converted to their closest ASCII equivalent (é becomes e), and other symbols are removed, leaving a clean, safe slug.
Learn more
The three color formats you'll meet in CSS, what each number means, when to use which, and how to convert between them.
What percent-encoding is, how it works, and the difference between encoding a whole URL and a single parameter value.
How to write title tags and meta descriptions that rank and get clicks — ideal lengths, what to include, and why Google sometimes rewrites them.
Learn regex from scratch — the core building blocks, flags, capture groups, and the one performance trap to avoid.