Free Text to Slug Converter Online
Turn any text into a clean, SEO-friendly URL slug. Converts to lowercase, replaces spaces with hyphens, and strips special characters. Real-time preview.
Bulk Mode – Convert Multiple Lines
About the Text to Slug Converter
A URL slug is the portion of a URL that identifies a specific page in a human-readable format. For example, the slug for this page is "text-to-slug". Good slugs are lowercase, use hyphens between words, contain no special characters and are concise.
This tool automates the slug creation process: it lowercases the input, replaces spaces (and other non-alphanumeric characters) with the chosen separator, removes consecutive separators and trims from both ends. An optional stop-word filter removes common words like "the", "a", "and" to produce shorter slugs.
How to Generate a URL Slug
Enter Your Text
Type or paste a title or phrase into the input field.
Choose Separator
Select hyphen (most common for URLs) or underscore.
View Slug
The slug is generated in real time in the output box.
Copy and Use
Click "Copy" to copy the slug to your clipboard and paste it into your CMS or code.
Frequently Asked Questions
Google recommends hyphens (-) as word separators in URLs. Underscores (_) are not treated as word separators by Google, meaning "my_page" is treated as one word rather than two. Use hyphens for best SEO results.
Stop words are common words like "the", "a", "is", "and", "of" that add length to a slug without adding meaning. Removing them produces shorter, cleaner slugs. For example, "The Best Ways to Learn" becomes "best-ways-learn" instead of "the-best-ways-to-learn".
Accented characters (é, ü, ñ etc.) are normalised to their base ASCII equivalents where possible (e, u, n), then any remaining non-alphanumeric characters are removed.
Yes. Use the "Bulk Mode" section at the bottom: paste one title per line, click "Convert All Lines", and each line is converted to a slug on its own line in the output.