Slug Generator
Turn text into a clean URL slug, with diacritic folding.
Local
This tool needs JavaScript enabled to run in your browser.
What this tool does
This tool turns a title or phrase into a clean, URL-safe slug: lowercase by default, accents folded to plain letters, and everything that is not a letter or number replaced by a single separator.
Why slugs matter
A readable slug makes a URL easier to share, remember and index. Keeping slugs to letters, numbers and a single separator avoids the encoding and ambiguity that spaces and punctuation cause in links.
Common use cases
- Creating a URL path from an article or product title.
- Generating a safe file or identifier name from free text.
- Normalising user-entered titles before storing them.
Frequently asked questions
- What happens to accents?
- Accented characters are folded to their base letters, so "Café résumé" becomes "cafe-resume".
- Can I change the separator?
- Yes. Pick a hyphen or an underscore, and choose whether to lowercase the result.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.