URL slug generator
A slug is the readable part of a web address, like practical-guide in example.com/practical-guide. This tool turns a title or phrase into a lowercase slug for URLs, file names and blog posts.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
A URL slug is the readable last part of an address, made by lowercasing the text, removing accents, and replacing spaces and punctuation with one separator. Short slugs of plain lowercase words are easy to read and share. Once a page is published, keep its slug stable, because changing it changes the URL.
FormulaSlug = lowercase text, accents removed, each run of other characters replaced by one separator, no separator at the ends
Worked example10 Tips for Brewing Better Café Coffee at Home! becomes 10-tips-for-brewing-better-cafe-coffee-at-home, with the accent removed from Café and the exclamation mark dropped.
Example
10 Tips for Brewing Better Café Coffee at Home!
10-tips-for-brewing-better-cafe-coffee-at-home
How to use the url slug generator
- Type or paste a title into the Title or phrase box.
- Set Separator to Hyphen or Underscore, and set Letters to Latin only or Keep Unicode.
- Set Max length to a number from 1 to 200.
- The slug updates as you type. Press Copy result.
How it works
Accent marks are removed, so café becomes cafe, and all letters become lowercase.
Latin only keeps only a to z and 0 to 9. Keep Unicode also keeps letters from other alphabets, such as Greek or Cyrillic, with accent marks removed.
Spaces and punctuation between words become a single separator, with none at the start or end.
The slug ends at a whole word to stay within the limit. Only a first word longer than the limit is cut partway.
If no usable letters or numbers remain, you get an error that suggests the Unicode option.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
What is a URL slug?
It is the part of a web address that names a specific page, usually written in lowercase with hyphens between words. A clear slug helps people see what a page is about before they click.
Should I use hyphens or underscores in a slug?
Hyphens are the usual choice in web addresses because they read like spaces. Pick Underscore if your system or file naming rules expect it.
Why did my non-English title produce an error?
With Latin only selected, letters outside a to z are dropped. Switch Letters to Keep Unicode to keep them.
Is my text uploaded?
No. The slug is created in your browser, and the title you type is not sent anywhere.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools