Slug Generator
Convert titles to URL-friendly slugs.
The slugification pipeline
Each line is processed independently through a five-step pipeline: (1) lowercase, (2) Unicode normalization (NFD) followed by accent stripping, (3) "&" is replaced with "-and-", (4) all characters that are not a–z, 0–9, space, or hyphen are removed, (5) runs of whitespace or hyphens are collapsed to a single hyphen and leading/trailing hyphens are stripped.
| Input | Slug output |
|---|---|
| How to Write Better | how-to-write-better |
| Café & Restaurant Picks in Zürich | cafe-and-restaurant-picks-in-zurich |
| Q&A: Frequently Asked Questions | q-and-a-frequently-asked-questions |
| 10 Things You Don't Know | 10-things-you-dont-know |
| Product Name — Special Edition | product-name-special-edition |
Multiple titles at once
Paste one title per line and every line is slugified independently. The output has the same number of lines as the input. Empty lines produce empty lines in the output (no slug is generated for blank input).
Warning: Accents are stripped via Unicode normalization, which works for Latin-based languages. CJK characters (Chinese, Japanese, Korean) will be completely removed since they have no mapping in a–z. Transliterate CJK content to Latin first if you need slugs from it.
Frequently Asked Questions
Your files stay on your computer. Dad promised.