Slug Generator
Turn any text into a clean, lowercase, hyphenated slug — accents and Unicode handled properly.
A note on non-Latin scripts
Latin-based text with accents is handled cleanly — é → e, ü → u. Non-Latin scripts (Arabic, Chinese, and others) may transliterate imperfectly or be dropped entirely, since a slug is meant to stay within the URL-safe ASCII character set.
How to use the slug generator
- Type or paste your text.
- Choose a separator (hyphen or underscore) and whether to lowercase.
- Optionally strip common stopwords or cap the length.
- Copy the generated slug.
How it works
A slug is the URL-safe version of a title or phrase — lowercase, no spaces or punctuation, words joined by a separator. This tool transliterates accented and special Latin characters to their plain ASCII equivalents (é → e, ü → u), strips anything that isn't a letter, number, or separator, and collapses repeated separators. Non-Latin scripts are transliterated where possible but may not convert perfectly, since a slug is meant to stay within the URL-safe ASCII range.
Examples
| Input | Result |
|---|---|
| 10 Best Café Recipes! | 10-best-cafe-recipes |
| Ünïcode & Accents (underscore separator) | unicode_accents |
Frequently asked questions
What is a slug used for?
Slugs are used in URLs — e.g. a blog post titled "10 Best Café Recipes" becomes /10-best-cafe-recipes/, which is clean, readable, and SEO-friendly.
Does this handle accented characters?
Yes — accented Latin characters transliterate cleanly, e.g. é becomes e and ü becomes u.
What about non-Latin scripts like Arabic or Chinese?
They may transliterate imperfectly or be dropped, since slugs are meant to stay within the URL-safe ASCII character set.
Can I use underscores instead of hyphens?
Yes — switch the separator option from hyphen to underscore, or any other supported separator.