All tools
Free SEO tool

URL slug generator

Type a headline, get a clean SEO-friendly URL slug. Strip stop words, transliterate accents, cap the length — all locally in your browser.

Slug
how-to-brew-the-perfect-light-roast-coffee-in-2026
50 chars
Full URL example
https://yourdomain.com/blog/how-to-brew-the-perfect-light-roast-coffee-in-2026

What a URL slug is

The slug is the human-readable part of a URL after the domain — the words after the last slash. For SEO it's a free relevance signal: a slug like /best-light-roast-coffee tells Google and a reader exactly what the page is about, while /post?id=4827 tells them nothing.

Slugs are also a permanent commitment. Changing one breaks every link pointing at the page unless you add a redirect, so getting it right the first time matters more than for most on-page elements.

What makes a good slug

Short, descriptive, and stable. The slug should describe the page in two to five words, contain your primary keyword, and never need to change as the article is updated.

  • Include the primary keyword — but don't keyword-stuff.
  • Use hyphens as word separators (Google's published guidance).
  • Lowercase only — mixed case can create duplicate URLs depending on server config.
  • Strip filler words (a, the, of, and) unless removing them changes meaning.
  • Skip dates and years — they age your URL the moment they're published.
  • Aim for under 75 characters before truncation kicks in.

How the slug generator handles accents and unicode

Latin scripts with accents — café, naïve, jalapeño — are normalized to their ASCII equivalents (cafe, naive, jalapeno) using Unicode NFD decomposition. That gives you a slug that's safe in URLs and predictable across browsers, while preserving the meaning of the source text.

Non-Latin scripts (Chinese, Cyrillic, Arabic, Devanagari) are passed through unchanged because there's no universally correct romanization — a tool guessing one is more dangerous than helpful. Transliterate those by hand or with a script-specific library.

FAQ

How long should a URL slug be?+

Aim for under 75 characters. Google truncates long URLs in the SERP, and shorter slugs are easier for humans to copy, share, and remember. This tool warns you when a slug goes long.

Hyphens or underscores?+

Hyphens. Google has stated since 2008 that hyphens are word separators and underscores are not — example_slug reads as one token to the crawler, example-slug reads as two words.

Should I remove stop words like 'the' and 'of'?+

Usually yes — they don't add meaning to the URL and just consume characters. But don't strip them if it makes the slug ambiguous (e.g. 'best-of-2026' loses meaning as 'best-2026').

Want this checked sitewide, automatically?

7-day trial. From $29/mo. Cancel from the dashboard.