Account

What new tool do you want?

Text & Writing

URL Slug Generator

Turn titles into clean, SEO-friendly URL slugs — lowercase, hyphenated, accents removed — with options to drop stop words and limit length.

How to use

  1. 1Paste one title per line.
  2. 2Choose the separator and whether to remove short stop words.

How it's calculated

Text is lowercased, accents are transliterated (é → e, ß → ss), anything other than letters and digits becomes the separator, and repeated separators are collapsed.

Frequently asked questions

Should slugs include stop words?

Short slugs are easier to read and share, so removing words like 'the' and 'of' is common — but keep them if they matter to meaning.

Hyphens or underscores?

Hyphens. Google treats hyphens as word separators but underscores join words together.

Should I change slugs later?

Avoid it — changing a published URL breaks links unless you add a 301 redirect.

A worked example of the accent transliteration

"Hello World! Café & Crème Brûlée" becomes hello-world-cafe-creme-brulee — é and û don't just get deleted, they're transliterated to their closest plain-ASCII letter via Unicode NFD normalization, which decomposes an accented character into its base letter plus a separate combining accent mark, then strips the accent mark off, leaving the plain letter behind. That's a meaningfully better result than naively stripping all non-ASCII characters, which would have produced "caf" instead of "cafe" — losing a whole letter rather than just the accent.

Why ß, æ, ø and œ get special-cased before the generic transliteration

Standard Unicode decomposition handles accented Latin letters (é → e + ´) just fine, but it can't handle characters that don't decompose into a base-letter-plus-accent pair at all — German ß isn't "s" with a mark on it, it's a distinct letter that conventionally expands to "ss" when transliterated, which is why "Straße" correctly becomes "strasse" rather than being mangled or dropped. The tool hardcodes these four specific substitutions (ß→ss, æ→ae, ø→o, œ→oe) before running the generic accent-stripping pass, because they're common enough in real titles (German, Scandinavian, French text) to be worth handling explicitly rather than leaving as an edge case.

Why the max-length truncation is pickier than a plain character cutoff

Setting max length to 12 on "one two three four" doesn't produce the naive 12-character cut (which would land mid-word as "one-two-thre") — it truncates to 12 characters first and then trims back to the last complete separator boundary, producing one-two (7 characters) instead. That's a deliberate trade-off: a slug that's shorter than the requested max but ends on a whole word is far more readable and shareable than one truncated mid-word, which is exactly the kind of detail that matters for a slug that's going to appear in a browser address bar or a shared link.

Stop words stay when the title is only one or two words

Remove stop words starts off. Even when I turn it on, a title that splits into only one or two pieces keeps those words, because stop words are dropped only when more than two pieces remain. The list is a, an, and, the, of, to, in, on, at, for, by, with, or, is, are, and be. Max length opens at 0, which means no limit, and a negative number is treated as no limit too. A fraction is rounded. Each line becomes its own slug, and a blank line stays blank. The separator opens on a hyphen. If I switch it to underscore, that same character is the boundary used when a max length cuts the slug back to the last whole piece instead of stopping mid-word.

Related tools

More: Text & Writing