Slug Generator
Convert any text into a clean, URL-friendly slug with options for separator and case.
How to Use
- Type or paste your text (e.g. a blog post title).
- Choose your separator: hyphen (recommended) or underscore.
- Toggle stop word removal to strip words like "the", "and", "of".
- Copy the generated slug.
When to Use This
- Converting a headline with punctuation and a bracketed year into a path segment, before an editor saves a slug containing a question mark.
- Normalizing imported titles one at a time when a migration script produced slugs full of stray underscores and capitals.
- Shortening an overlong title for a URL by turning on stop word removal and keeping the words that carry the topic.
- Checking what a CMS will probably do to a title when you want to agree the final URL before the post is created.
Frequently Asked Questions
About This Tool
A slug is the human-readable part of a URL path, the segment that describes a page rather than identifying it by number. URLs travel as ASCII, so anything outside that set has to be percent-encoded, which is how a title with an accent or an em dash turns into an unreadable path. Case matters too, since path segments are case-sensitive on most servers while hostnames are not.
This converter maps a fixed table of accented Latin letters to their unaccented equivalents, drops every remaining non-ASCII character, lowercases the text, replaces anything that is not a letter, digit, space, hyphen or underscore with a space, and joins the words with your chosen separator. An optional filter removes a 40-word English stop list. The slug updates as you type.
Notes & Limits
- Non-Latin scripts are discarded rather than transliterated. Hindi, Chinese, Arabic, Cyrillic and Greek text comes back empty, so romanize it before pasting.
- Output is always lowercase. The only controls are the separator and the stop word filter, so a slug that must keep its case has to be edited after copying.
- The stop list is English and fixed at 40 words. It strips can and need, which may be the meaningful words in a title such as what you can do.
- Uniqueness is your problem. The tool has no idea which slugs already exist, and two similar titles can produce exactly the same output.