Web
Slugify String
Turn a page title into a lowercase ASCII slug while checking meaning, removed characters, and route collisions.
About this tool
When to use it
Turn a page title into a lowercase ASCII slug while checking meaning, removed characters, and route collisions.
How to use it
Enter the title, choose a hyphen or underscore, and select Create slug. Read the result before using it in a route. Confirm uniqueness against existing pages and preserve redirects if changing a published URL.
Guide updated . Examples checked against this implementation.
Worked examples
Normalize accents and spacing
Input
Café & Tools Expected output
cafe-toolsThe accent is removed, the ampersand becomes a separator, and repeated separators collapse. The original display title should still use its proper spelling.
Errors and unsupported input
A non-Latin title produces an empty or incomplete slugSupply a deliberate ASCII route name. The tool removes unsupported characters; it does not transliterate every writing system.
Continue this workflow
- URL Encoder & Decoder: Encode a URL component when characters should be preserved rather than removed.
Questions
Frequently asked questions
Does this guarantee a unique route?
No. Check the generated name against your route registry and any case or separator conventions used by the server.