Convert Text to a URL Slug
A slug is the URL-safe version of a title: lowercase, accents stripped, symbols removed, words joined with hyphens. This converter slugifies any text — blog titles, product names, headings — into clean, SEO-friendly URL segments, handling accented characters like é and ü correctly.
Hello World! Café au Lait & Co. 10 Tips for Faster Builds
hello-world cafe-au-lait-co 10-tips-for-faster-builds
Try it with your own data
How to convert Text to Slug
- Lowercase the text and normalize accented characters to their plain equivalents (é → e).
- Replace every run of spaces, punctuation, and symbols with a single hyphen.
- Trim leading and trailing hyphens.
Frequently asked questions
Why hyphens instead of underscores in URLs?
Google has long recommended hyphens because they are treated as word separators, while underscores historically were not. Hyphenated slugs are also easier to read in a link preview.
What happens to accented characters?
They are transliterated to their base letter — café becomes cafe. This keeps slugs ASCII-only, which avoids percent-encoding in shared links.
How does the converter know where words start and end?
It splits on separators (underscores, hyphens, spaces) and on lowercase-to-uppercase boundaries, keeping acronym runs together — so HTTPServerError splits into HTTP, Server, Error regardless of the input convention.
Can I convert many identifiers at once?
Yes — put one identifier or phrase per line and every output format converts the whole list, ready to copy as a block.