Free SEO extension πŸ”₯
Utility β€’ SeoSpidie Editorial Team β€’ β€’ 6 views

How to Generate Clean URL Slugs for Blog Posts and Products

Turn titles into clean, short slugs in seconds, with practical tips for blogs, product pages and bulk imports.

Most CMSs create a slug from your title automatically β€” and many do it badly, keeping every stop word, special character and the full length of a long headline. The free SeoSpidie slug generator turns any title into a clean, short, lowercase and hyphenated slug you can paste into your CMS.

For the rules behind a good slug, read how to write SEO-friendly URL slugs.

Step 1: Paste the title

Enter the page title, product name or category name. For example: "The Complete Beginner's Guide to Growing Tomatoes on a Balcony (2026 Edition)".

Step 2: Review the generated slug

The generator lowercases the text, replaces spaces with hyphens, removes punctuation and special characters, and drops common stop words. The example above becomes something like complete-beginners-guide-growing-tomatoes-balcony-2026-edition.

Step 3: Trim it by hand

A generator gives you a clean slug; you make it a great one. Remove words that do not help, like "complete", "edition" and the year: growing-tomatoes-balcony or grow-tomatoes-on-balcony. Three to six meaningful words is usually ideal.

Step 4: Paste it into your CMS

In WordPress, edit the "Permalink" or "Slug" field; in Shopify, the "URL and handle" field under search engine listing; in most other systems, a field called slug, handle or URL key. Set it before you publish β€” changing it later means adding redirects.

Tips for product pages

  • Include the product type and the key distinguishing attribute: cotton-kurta-navy-blue, not new-arrival-kurta-sale.
  • Leave out prices, discounts and stock words. These change and would make the slug wrong.
  • For variants (sizes, colours), most shops use one product URL with options, rather than a separate slug per variant.
  • Include the brand or model only if customers search for it.

Tips for blog posts

  • Base the slug on the main search phrase, not the clever headline.
  • Drop years and list counts so the URL stays valid when you update the post.
  • Avoid creating two posts with almost the same slug; that is often a sign the posts compete with each other.

Mistakes the generator helps you avoid

  • Encoded characters. A title with an apostrophe or ampersand, such as "Rosie's Cakes & Bakes", can produce a slug full of %27 and %26. The generator removes them.
  • Mixed case. /Cotton-Sarees and /cotton-sarees can be treated as two different URLs. Generated slugs are always lowercase.
  • Double hyphens and trailing hyphens left behind when punctuation is removed by hand.
  • Underscores copied from file names, which join words together instead of separating them.

Bulk imports

When importing hundreds of products or pages, generate slugs consistently and check for duplicates before importing β€” most systems silently add "-1" or "-2" to duplicates, which creates confusing URLs. For template-based pages, the programmatic SEO generator creates titles, descriptions, H1s and slugs together from a list of values.

More free tools: browse all our free utility tools, no sign-up needed.

Frequently asked questions

Does the generator remove all stop words?

It removes common ones like "the", "a" and "and". Review the result and keep any word that matters for meaning.

Can I generate slugs for non-English titles?

Accented characters are simplified where possible. For other scripts, check the result before using it.

Should I change slugs on pages that are already published?

Only if the benefit is clear, and always with a 301 redirect from the old URL.

Is the slug generator free?

Yes, with no sign-up. It runs in your browser.