Content tool

URL Slug Generator

Paste a headline or product name and get a clean, SEO-friendly URL slug: lowercase, hyphen-separated, with accented letters converted to plain Latin and punctuation removed. It updates as you type.

URL slug
—

In short: a slug is the readable part of a URL that identifies one page, like running-shoes-flat-feet in example.com/blog/running-shoes-flat-feet. A good slug generator lowercases the text, swaps accented letters for plain ones, drops punctuation and joins the words with hyphens.

What makes a URL slug SEO-friendly

Google has said many times that keywords in a URL are a very small ranking factor. The slug still earns its keep in other ways: it appears in search results under the title, people read it before clicking a shared link, and it becomes the anchor text when someone pastes a bare URL. An SEO-friendly URL is one a human can read aloud. In practice that means:

  • Lowercase only. URL paths are case-sensitive on most servers, so /Running-Shoes and /running-shoes can be two different pages, or one page with a duplicate.
  • Hyphens between words. Google's guidelines recommend hyphens over underscores, and spaces turn into %20.
  • The topic, not the whole headline. "The 10 Best Running Shoes for Flat Feet in 2026" works better as best-running-shoes-flat-feet. Drop the number and the year so you can update the article without changing its address.
  • No IDs or dates unless they mean something. /p?id=4821 tells nobody anything; /2026/04/17/ makes evergreen content look old.

How accented letters are transliterated

URLs can contain any Unicode character, but anything outside ASCII is percent-encoded when the link is copied. café turns into caf%C3%A9 in an email, a spreadsheet or your server logs. For English, French, Spanish, German and other Latin-script languages, the cleaner option is to transliterate. This slug generator first splits each letter into a base letter plus its accent (Unicode NFD normalization), removes the accent, then handles letters that don't decompose this way with a lookup table:

InputSlugRule
Crème Brûléecreme-bruleeAccents removed by normalization
Straßestrasseß becomes ss
Ærø Islandaero-islandæ becomes ae, ø becomes o
Łódź Guidelodz-guideł becomes l
München Hotelsmunchen-hotels or muenchen-hotelsGerman style option writes ü as ue
Tom & Jerry'stom-jerrysAmpersand and apostrophe removed

The German option matters for sites aimed at German speakers, who type "muenchen" far more often than "munchen" when umlauts aren't available. For scripts that are not Latin, such as Cyrillic, Greek, Arabic or Japanese, the tool removes the characters rather than guess a romanization; for those sites, keep native-script slugs or write the slug by hand.

Stop words: when to remove them

Words such as a, the, of, for and and add length without adding meaning, so the option above strips them. Check the result before you use it, though. "How to tie a tie" becomes how-tie-tie, which reads badly; how-to-tie-a-tie is better there even though it is longer. Removal is a default, not a rule. The same goes for length: a limit of around 60 characters keeps slugs readable, and the tool cuts at the last full word instead of mid-word.

Slugs in WordPress and other CMSs

Most platforms build the slug from the first title you save. WordPress, for example, keeps that slug even if you later rewrite the headline, so a draft title can end up in the live URL. Set the slug deliberately before you publish. If a page is already live and indexed, changing the slug needs a 301 redirect from the old URL:

# nginx
location = /blog/10-best-running-shoes-for-flat-feet-2025 {
    return 301 /blog/best-running-shoes-flat-feet;
}

Then update internal links so they point straight to the new address instead of through the redirect.

Frequently asked questions

Should I use hyphens or underscores in URLs?

Use hyphens. Google's URL structure guidelines recommend hyphens to separate words, because they are read as word separators. With underscores, running_shoes can be read as one word. Underscores are not an error, but hyphens are the safer default.

How long should a URL slug be?

There is no official limit that affects ranking, but three to five meaningful words is a good target. Short slugs are easier to read, share and remember, and they show fully in search results and chat apps. This tool can cut a slug to a maximum length at a word boundary.

Can I use accented or non-Latin characters in a slug?

Yes, browsers and Google handle them, but they are percent-encoded when copied, so a single accented letter becomes a code like %C3%A9 in emails, analytics and server logs. For sites in Latin-script languages, transliterating to plain ASCII gives cleaner links. For Japanese, Arabic or Russian sites, native-script slugs are a reasonable choice.

Is it bad to change the slug of a published page?

It is fine if you add a 301 redirect from the old URL to the new one, and update internal links to point straight to the new address. Without the redirect, existing links and bookmarks hit a 404 and the page loses the signals it built up. Change slugs only for a clear gain, not for small wording tweaks.

Related tools: Word Counter · SERP Snippet Preview · Meta Tag Generator