What makes a good slug
A slug is the part of a web address that names the page, such as
/free-online-tools. A good slug is short, readable and made only of lowercase
letters, numbers and hyphens.
Why slugs matter
- They appear in search results, so people read them
- Words in the slug can help a page rank for those words
- Clean slugs are easier to share and remember
This tool lowercases the text, replaces spaces and punctuation with your chosen separator and trims stray separators from the ends.
Frequently asked questions
Hyphen or underscore?
Hyphens are the standard for web addresses and are read as spaces by search engines. Use underscores only for code.
Should I include stop words?
Usually no. Shorter slugs are easier to read, so drop words like "the" and "and".
Does it handle non-English characters?
It removes them, so transliterate first if you need the meaning kept.