Too Much Tools logoToo Much Tools

Slugify String

Turn text into a clean, URL-safe slug, stripping accents and punctuation, locally.

Local, Runs entirely in your browser, your data never leaves your device.
Loading tool…

Turn a title into a clean, URL-safe slug

This tool normalizes text with Unicode NFKD decomposition to strip accents, replaces every run of non-alphanumeric characters with a separator, and collapses or trims repeated separators so the result is safe to drop straight into a URL path or filename. It's the kind of conversion you reach for when generating blog post slugs, route segments or file names from a user-entered title. The whole conversion is a handful of regular expressions running on text you type, nothing is sent anywhere.

How to use the Slugify String

  1. Type or paste the text you want to slugify into the input field.
  2. Choose a separator from hyphen, underscore or dot, this replaces spaces and other punctuation.
  3. Toggle Lowercase off if you want to keep the original letter casing in the slug.
  4. Copy the result or use Send To to push it into another tool.

Accented and diacritic characters are stripped via Unicode NFKD normalization, so "Café" becomes "cafe" rather than being dropped or left with a stray accent mark; characters outside the Latin alphabet that don't decompose this way are removed as non-alphanumeric.

Leading and trailing separators are trimmed and consecutive separators are collapsed to one, so punctuation-heavy input like "Hello --- World!!" produces "hello-world", not a slug full of doubled hyphens.

Frequently asked questions

How does slugify handle accented letters like é or ü?
It runs the text through Unicode NFKD normalization and strips the resulting combining diacritic marks, so "café" becomes "cafe" and "Müller" becomes "muller" rather than keeping the accent or dropping the letter.
Can I use an underscore instead of a hyphen in my slugs?
Yes, the separator dropdown offers hyphen, underscore or dot, and whichever you pick is used both to replace punctuation and spaces and to collapse repeated separators in the result.
Does slugifying my text send it to a server?
No, the normalization, character replacement and separator collapsing all run as plain JavaScript string operations in your browser tab, so titles or slugs you haven't published yet stay local.
Will emoji or non-Latin scripts survive slugification?
No, anything that isn't a plain ASCII letter or digit after normalization, including emoji, CJK characters and symbols that don't decompose into a base Latin letter, is treated as punctuation and replaced with the separator.