🍋 Text Tools
Slug Generator
Convert text to URL-friendly slugs.
chars
words
sentences
lines
Options
Results
Result
About Slug Generator
Convert any text into a clean, URL-friendly slug. Removes special characters, replaces spaces with hyphens or underscores, and optionally truncates to a maximum length.
How It Works
The tool normalizes Unicode characters via NFKD decomposition to strip accents, removes non-alphanumeric characters, collapses whitespace, and joins words with your chosen separator.
Step by Step
- 1 Type or paste the text to slugify
- 2 Choose separator (hyphen, underscore, or dot)
- 3 Set a maximum length if needed (0 = no limit)
- 4 Click Slugify
Tips
- Hyphens are the most common separator for web URLs.
- Underscores are common for file names and database fields.
- Set a max length to keep URLs short and clean.
Frequently Asked Questions
What happens to accented characters?
Accented characters like é, ñ, ü are normalized to their ASCII equivalents (e, n, u).