Convert any text into a clean, URL-safe slug instantly in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Generate a URL-friendly slug.
- Runs entirely in your browser — your text is never sent to a server
- Strips accents and diacritics for a clean, URL-safe result
- Free, no account required
How it works
-
1
Pick the separator.
-
2
Type or paste the title.
-
3
Copy the slug.
About the Slug Generator
A slug is the readable part of a URL, such as /blog/my-first-post. Turning a title into one by hand means lowercasing it, removing accents and punctuation, and joining the words. This generator does all of that consistently, so Café con Leche & Friends! becomes cafe-con-leche-friends, with a choice of hyphens or underscores between words.
What you can do
- Convert titles to lowercase slugs that contain only a to z, digits and your separator.
- Strip accents from Latin letters, so é becomes e and ñ becomes n.
- Collapse spaces and punctuation into a single separator and trim any from the ends.
- Choose a hyphen for URLs or an underscore for file names and identifiers.
When it works best
- Writing the URL for a blog post, product page or documentation article.
- Naming image files or folders consistently from their titles.
- Creating keys for translations or settings from human-readable labels.
Things to know
- The slug is built in your browser.
- Characters outside the Latin alphabet, such as Cyrillic, Greek, Arabic or Chinese, are removed rather than transliterated, as are letters like ß and ø that have no accent to strip.
- Slugs are not shortened, so trim long titles yourself for tidy URLs.
- To change text to camelCase or snake_case, use the Case Converter. To escape text for a URL instead, use URL Encode/Decode.
Frequently asked questions
Yes for Latin letters. Non-Latin scripts and letters like ß and ø are dropped.
Yes, choose hyphen or underscore as the separator.
No, trim them yourself.
Lowercase a to z, digits and your separator.