New 58+ tools are now available — built to keep your workflow moving.

Slug Generator

Turn a title or headline into clean, lowercase URL slugs with your own separator and length limit.

WordPress uses hyphens, most static site generators accept either.

80 is a safe default; Google truncates titles well before this.

Accents are folded (Café Münster becomes cafe munster) and anything that is not a letter, digit or your separator is treated as a word break.

Choose a file first — Run stays disabled until the file is selected.

File ready — press Run to start.

Optimizing your file…

Your result is ready — download it below:

Re-encoded without size gain Download links expire within 30 minutes.

This image appears to be already optimized — try a lower quality setting for a smaller file.
No logo or watermark was detected in the marked corners — your images were delivered unchanged.

No result to display for the current input.

Slug Generator Online

Turn a title or headline into clean, lowercase URL slugs with your own separator and length limit.

Turn a Headline Into a Clean URL Slug

Type a headline and get a URL-safe slug back immediately: lowercase, accent-folded, and reduced to letters, digits and your chosen separator. The default output keeps every word, and a second variant drops common stop words so you can compare a fuller slug against a tighter one.

Four further variants are included — a 30-character truncation, the first three words, and a numeric suffix for the duplicate-title case — so you can pick a shape and copy it rather than editing hyphens by hand.

What a Slug Is and Where It Shows Up

A slug is the readable last segment of a URL. The page at /blog/best-coffee-grinder has the slug best-coffee-grinder. WordPress calls the same value the post name, Shopify uses a handle, and most other CMSs use one of those two words for it.

It ends up in three places a reader and a crawler both see: the address bar, internal links, and the sitemap. That makes it a small but durable decision — it is part of the URL for as long as the page exists, which is exactly why changing one later is a redirect job rather than an edit.

Accents, Symbols and Word Breaks

Letters with diacritics are folded rather than dropped: Café Münster becomes cafe munster. A handful of letters that Unicode cannot decompose are transliterated, so Straße gives strasse and Ærø gives aero instead of losing characters entirely.

Everything else that is not a letter, digit or your separator becomes a word break, which means apostrophes and hyphens inside a title do not produce double separators. A literal & is treated as a break too, so Tips & Tricks yields tips-tricks rather than tips-tricks with an encoded ampersand in the path.

Stop Words and Why the Shorter Slug Is Usually Better

The stop-word variant removes common words such as the, and, of, is, for and to before building the slug. The list is short on purpose: a broader list strips words that carry real intent, and a slug that has lost its meaning ranks no better than the full one.

Both forms work. A full slug like how-to-choose-the-right-coffee-grinder is descriptive and safe; the stop-word form choose-right-coffee-grinder is shorter and easier to scan. Either is fine as long as it is consistent across the site.

Length Limits and Where Truncation Bites

The default cap is 80 characters, comfortably inside what search engines display and what most CMSs accept. Because slugs are truncated from the right, a long title loses its tail — often the part carrying the specific detail, which is usually the part worth keeping.

That is why the 30-character and first-three-words variants are included: they show the trade-off explicitly instead of letting a cut land mid-word. If a slug is being truncated, the fix is usually a shorter title, not a longer allowance.

Hyphens Versus Underscores

Hyphens are the default and the safer default. WordPress generates them, most static site generators expect them, and an underscore has a long history of being read as a literal character in file names rather than as a separator.

Underscores are available because some systems, particularly older database-backed setups, already use them in existing URLs. Consistency matters more than the choice: switching separators halfway through a site leaves you maintaining two conventions for no benefit.

Changing a Slug Later

Editable, but not free. A slug is a URL other people may have bookmarked, linked to or printed, so changing it needs a 301 redirect from the old path to the new one. The redirect preserves whatever authority the old URL had accumulated.

Without the redirect the page is simply gone from the old address, and any inbound links become 404s. If a slug must change, change it, add the redirect in the same edit, and update the sitemap — all three together.

Frequently asked questions

Should slugs be all lowercase?

Yes. Everything here is lowercased, because URLs are case-sensitive on most servers while people read them as case-insensitive. Uppercase in a path usually arrives percent-encoded as %20-style escapes, which looks broken and can be treated as a different URL from the lowercase form.

Should I use hyphens or underscores?

Hyphens. WordPress produces them, most generators expect them, and an underscore has historically been read as a literal character rather than a separator. Choose underscores only to match URLs your site already uses.

How long should a slug be?

Under 80 characters is a sensible default, and most of the interesting part of a title fits well before that. Search engines do not impose a slug length limit, but very long slugs get truncated in search results, so the length that matters is roughly the first 60 characters.

Do stop words in a slug hurt SEO?

No. A slug is one of many signals, and stop words in it neither help nor hurt measurably. Dropping them is a readability and brevity choice. Consistency is worth more than either decision, because mixing styles across a site makes URLs harder to maintain.

Can I change a slug after publishing?

Yes, but add a 301 redirect from the old URL to the new one in the same edit, and update your sitemap. Without the redirect, old links 404 and any authority the URL had built is lost. If the page has strong inbound links, leaving the slug alone is usually the better decision.

Should the slug match the page title exactly?

Not necessarily. The title is written for a search result and the slug for an address bar, so a shortened slug often reads better than the full title. Keeping the leading words aligned with the title is enough for people to recognise the page.

About this tool

Slug Generator turns a title, headline or sentence into a URL-safe slug. Accents are folded, punctuation becomes your chosen separator, and stop words can be dropped automatically.

How to use: paste your headline, pick a separator and a maximum length, then press Run.

  • Five slug variants from one input
  • Hyphen or underscore
  • Accent folding and length caps

Related tools