URL Slug Generator.
Paste any title, heading or messy URL and get a clean, SEO-friendly slug in real time. Handles accents and non-English scripts, cuts filler words, trims at whole words and scores the result against SEO best practice.
Advanced: focus keyword, base URL & custom words
Ctrl / ⌘ + Enter to copy.| # | Original | Slug | Len |
|---|
Three steps to a clean URL.
Paste your title
Drop in a blog title, product name, page heading or even an old URL. The slug updates as you type.
Pick a preset
Start with SEO-optimised, or match WordPress or Shopify. Fine-tune separators, length, stop words and numbers if you need to.
Check & copy
Review the SEO score and Google preview, then copy the slug, the /path/ or the full URL. Got a whole sitemap? Use bulk mode and export a CSV.
What is a URL slug?
A URL slug is the last, human-readable part of a web address. It's the bit that identifies one specific page, like emergency-dentist-parramatta in the example below.
The name comes from old newspaper publishing, where a "slug" was the short working title given to a story. On the web, it does the same job: a short label that tells people and search engines what the page is about before they click.
A good slug is short, descriptive, lowercase and hyphenated. A bad one is a jumble of IDs, dates, capitals and symbols that nobody wants to click, share or remember.
Why it matters for SEO: a descriptive slug helps searchers understand the page from the URL alone, makes links more trustworthy when they're shared, and gives search engines one more clear signal about the topic. It's a small factor on its own, but it's one of the easiest wins in on-page SEO.
8 rules for an SEO-friendly slug.
1. Use hyphens between words
Google recommends hyphens over underscores, because hyphens clearly mark where one word ends and the next begins.
2. Keep it lowercase
URLs are case-sensitive, so /About and /about can be treated as two different pages. Lowercase avoids duplicates and broken links.
3. Make it short & descriptive
Aim for around 3–5 meaningful words. Say what the page is about, and nothing more.
4. Include your main keyword
Put the phrase people actually search for in the slug, ideally near the start. Use it once; don't repeat it.
5. Drop filler (stop) words
Words like "a", "the", "and" and "of" usually add length, not meaning. Keep them only when removing them changes the meaning.
6. Avoid dates on evergreen pages
A year in the slug makes content look stale the moment it ticks over, and changing it later means a redirect. Put the year in the title instead.
7. No special characters or IDs
Skip ?, &, %, spaces, emoji and database IDs. They get percent-encoded into ugly strings like %20 and confuse people.
8. Set it once, then leave it
Changing a slug on a live page breaks old links. If you must change it, set up a 301 redirect from the old URL to the new one.
Hyphens or underscores?
Use hyphens. Google's own URL structure guidelines recommend hyphens (-) over underscores (_). Hyphens are read as word separators, while underscores are commonly used in programming to join words together, so red_shoes may not be read as two separate words.
Hyphens are also easier for people to read, especially when a link is underlined, which can hide underscores completely.
Our tool still supports underscores and dots for file names, code identifiers, database keys and systems that need them. For public web pages, stick with the hyphen.
| Separator | Example | Use it for |
|---|---|---|
Hyphen - | red-running-shoes | Web page URLs (recommended) |
Underscore _ | red_running_shoes | File names, code, database keys |
Dot . | red.running.shoes | Config keys, namespaces |
| None | redrunningshoes | Usernames, hashtags, IDs |
How long should a URL slug be?
Google hasn't published a character limit for slugs. As a practical rule, aim for 3–5 words and under about 60 characters. Shorter slugs are easier to read, share and remember, and are less likely to be cut off where URLs are displayed.
Our tool flags anything over 60 characters and, if you set a max length, trims at the last whole word so you never end up with half a word like dental-implan.
Should you remove stop words?
Usually, yes. the-best-guide-to-the-blue-mountains says nothing that blue-mountains-guide doesn't. But don't remove words blindly: "Not Guilty" and "Guilty" mean opposite things.
That's why our default stop word list leaves out words like how, what, not and vs, and you can edit the list to suit your content.
Non-English and accented characters
Characters outside basic A–Z are percent-encoded in links, so café can turn into caf%C3%A9 when the link is copied. Google suggests using words in your audience's language, transliterated where it makes sense.
Our tool converts accented Latin letters, Cyrillic, Greek and more (Crème Brûlée → creme-brulee). Turn transliteration off if you deliberately want a native-script slug.
Can you change an existing slug?
You can, but treat it like moving house: tell everyone your new address. Always add a 301 redirect from the old URL to the new one, update your internal links, and resubmit your sitemap.
If a page already ranks well and the slug is "fine", it's usually not worth the risk. Focus on getting slugs right for new content.
Slug examples.
| Page title | Basic slug | SEO-optimised slug |
|---|---|---|
| 10 Best Coffee Shops in Sydney's CBD (2026 Guide) | 10-best-coffee-shops-in-sydneys-cbd-2026-guide | 10-best-coffee-shops-sydneys-cbd-guide |
| How to Choose a Dentist: A Guide for Families | how-to-choose-a-dentist-a-guide-for-families | how-choose-dentist-guide-families |
| Café Crème & Croissants à Paris | cafe-creme-and-croissants-a-paris | cafe-creme-croissants-paris |
| Shopify vs WooCommerce: Which Is Better? | shopify-vs-woocommerce-which-is-better | shopify-vs-woocommerce-which-better |
| 100% Organic Men's T-Shirts | 100-percent-organic-mens-t-shirts | 100-percent-organic-mens-t-shirts |
Editing slugs on popular platforms.
Menu names move around between updates, but this is where you'll usually find the slug field.
WordPress
In the block editor, open the post or page settings sidebar and click the URL / permalink field. Set your site-wide structure under Settings → Permalinks (choose "Post name" for clean URLs). Plugins like Yoast or Rank Math can also redirect old slugs for you.
Shopify
On a product, collection, page or blog post, scroll to Search engine listing, click Edit, and change the URL handle. Shopify offers a checkbox to create a redirect from the old URL. Leave it ticked.
Webflow
For static pages, open Page settings and edit the Slug. For blog posts and other CMS items, edit the item's Slug field. Add redirects under Site settings → Publishing → 301 redirects.
Wix
Open the page's SEO settings (via the Pages menu or the SEO panel) and edit the URL slug. Wix can create a redirect when you change it; use the URL Redirect Manager to check.
Squarespace
Click the gear icon next to a page to open Page settings, then edit the URL slug under General. Add redirects under Settings → Developer tools → URL mappings.
Custom / headless
Generate slugs on save, store them in a unique, indexed field, and never auto-regenerate them when a title changes. Use bulk mode here to backfill slugs for existing content in one go.
Questions, answered.
Want the whole site fixed?
Clean URLs help, but they're one piece of on-page SEO. Our specialists will audit your site's structure, content and technical health and show you exactly what's holding your rankings back.
Claim your free SEO audit- Full technical & on-page review
- URL structure & redirect check
- Plain-English action plan
- No lock-in, no obligation