How to use the URL Slug Generator
- Type or paste a title
- Choose the separator and options
- Copy the slug
Clean URL slugs from titles
Paste one title per line to get clean, SEO-friendly slugs instantly — lowercase words joined by hyphens (or underscores), with accents removed (“Café” → “cafe”), “&” turned into “and” and punctuation stripped. Options let you remove stop words (a, the, of…) and set a maximum length that cuts at a whole word. Several titles can be converted at once.
Example
“10 Best Free Online Tools for Students in 2026!” → 10-best-free-online-tools-for-students-in-2026; with stop words removed, 10-best-free-online-tools-students-2026.
What is a slug?
The slug is the readable last part of an address that identifies a page: in example.com/blog/merge-pdf-files, it's merge-pdf-files. The path is everything after the domain (/blog/merge-pdf-files); the slug is just the page's own part.
Good practice
- Lowercase, with words separated by hyphens — Google recommends hyphens over underscores.
- Short and descriptive; 3–6 words is plenty.
- Leave dates out of evergreen content so the URL never looks out of date.
- Don't change a published slug without a 301 redirect.
WordPress, Shopify and Wix
- WordPress — edit the “URL” or “Permalink” field in the post sidebar, and set Settings → Permalinks to “Post name”.
- Shopify — on the product or page, edit “Search engine listing” → URL handle, and tick the redirect box.
- Wix — open the page's SEO settings and edit the URL slug.
In code
- Python — the
python-slugifypackage; in Django,django.utils.text.slugify(). - JavaScript — the
slugifynpm package. - PHP / Laravel —
Str::slug($title).