Slugify String
Turn text into a lowercase ASCII slug with hyphens or underscores
Last updated: October 14, 2026
How it works
- Converts text to lowercase
- Removes special characters and accents
- Replaces spaces with your chosen separator
- Removes leading/trailing separators
- Perfect for URLs, filenames, and identifiers
Result actions
Copy or download the tool output, or share a link to Slugify String.
Get new tools in your inbox
An occasional email when we ship new free tools. No spam, unsubscribe anytime.
Related tools
URL Encoder/Decoder
Encode and decode URLs with component or full URL support
Batch Text Replacer
Replace multiple text patterns at once with support for regex and case sensitivity
Convert ASCII Art to Image
Render ASCII art as a visual PNG image with customizable fonts and colors
Convert Text to ASCII Art
Add character spacing to uppercase text for a simple ASCII-style banner
Convert Text to Unicode Font
Convert text to Unicode font styles
Convert Words to Numbers
Convert English number words to numeric values
Turn a title into a slug
Enter text to see a lowercase slug. Choose hyphen or underscore as the separator between words. The tool removes combining accent marks, replaces whitespace with the selected separator, removes characters outside ASCII letters, digits, hyphens, and underscores, and trims the selected separator from the ends.
For example, My Café: Notes! becomes my-cafe-notes with hyphens.
Character handling
This is a simple ASCII slugger, not a general transliteration library. Accented letters that decompose into a base Latin letter and combining mark are reduced to the base letter; characters such as ø that do not decompose this way are removed. Punctuation and symbols are removed, not replaced with words. Choose an available separator and review the result before using it as a permanent identifier.
Privacy
Slug generation runs locally in your browser; the entered text is not sent to our servers.