Slugify
Convert text into a clean URL slug. Choose separators, lowercase, remove stop words, and set max length — runs locally in your browser.
What is a URL slug?
A URL slug is the human-readable part at the end of a web address that identifies a specific page. For example, in example.com/blog/how-to-write-a-url-slug, the slug is how-to-write-a-url-slug. Slugs replace spaces and special characters with hyphens so URLs stay clean and shareable.
Slugify text into a URL-friendly slug
Paste any text — a blog title, product name, or category label — and this tool converts it into a clean, URL-safe slug. It removes punctuation, collapses whitespace, and lets you control separator, casing, stop words, and max length.
How to use
- Paste the text you want to slugify (one title or multiple lines).
- Adjust options: separator (dash or underscore), lowercase, stop words, and max length.
- Copy the slug and use it in your CMS, routing config, or spreadsheet.
SEO best practices for URL slugs
- Use hyphens, not underscores — Google treats hyphens as word separators; underscores are treated as connectors
- Keep slugs short and descriptive — include the primary keyword, drop filler words
- Lowercase only — avoid case-sensitivity issues and duplicate URLs
- Avoid stop words — words like “a”, “the”, and “and” add length without adding search value
- Don't change slugs after publishing — URL changes break backlinks and require 301 redirects
Examples
- ”Hello, World!” → hello-world
- ”A/B testing: what it is” → a-b-testing-what-it-is
- ”Café au lait recipe” → cafe-au-lait-recipe