Slugify and Accent Remover
Slugify takes any text and turns it into a clean, diacritic-free URL slug — lowercase, words joined by hyphens, no accents or special characters. It can also just strip the diacritics and keep the text readable. Handy for page addresses, file names, anchors or identifiers. Everything runs directly in your browser; your text is never sent anywhere.
How Slugify works
The tool works in two steps. First it decomposes the text using Unicode NFD normalization: an accented character (for example „ž") is split into a base letter („z") and a separate combining mark. These combining marks (the U+0300–U+036F range) are then removed, so „Příliš žluťoučký kůň" becomes „Prilis zlutoucky kun". That is the Without diacritics output — it keeps the original case and spaces.
For the slug the tool goes further: it lowercases the diacritic-free text, replaces every run of characters that are not a–z letters or 0–9 digits with a single hyphen, and trims hyphens from the start and end. The result is a short, predictable string that fits into a URL. The tool does not transliterate language-specific characters phonetically (for example German „ß" to „ss") — it works purely through Unicode decomposition, so characters without a separable accent are simply dropped from the slug.
How to use Slugify
- Type or paste the string you want to convert into the Text field.
- The tool instantly shows two outputs: the Slug (ready for a URL) and Without diacritics (accents removed only).
- Select the result and copy it wherever you need it — into a CMS, code, or a file name.
Here is how the same input maps to both outputs:
| Input | Without diacritics | Slug |
|---|---|---|
| Příliš žluťoučký kůň | Prilis zlutoucky kun | prilis-zlutoucky-kun |
| Café & Restaurant 2026! | Cafe & Restaurant 2026! | cafe-restaurant-2026 |
| My first article | My first article | my-first-article |
What Slugify is good for
A slug is the key part of a „pretty" URL — instead of ?id=42 you get /my-first-article, which is more readable for both people and search engines. Editors and bloggers use it when creating articles, developers when generating identifiers, e-shops for product and category addresses, and anyone who needs a safe file name without accents or spaces.
Removing diacritics on its own helps wherever accents cause trouble: legacy systems, CSV exports, usernames, or transliterating Czech text. Because the whole conversion happens locally in your browser and no text is sent to a server, you can safely process internal names, working titles, or anything sensitive.
FAQ
What is a slug?
A slug is the human-readable part of a URL that names a page — for example „my-first-article" in /my-first-article. It consists of lowercase letters, digits and hyphens and replaces unreadable numeric IDs.
How does the tool remove diacritics?
It uses Unicode NFD normalization, which splits an accented character into a base letter and a combining mark, then deletes those marks (U+0300–U+036F). So „ř" becomes „r".
Do numbers stay in the slug?
Yes. The slug keeps digits 0–9 and letters a–z. Everything else (spaces, punctuation, symbols) is replaced with a hyphen, so „Version 2.0" gives „version-2-0".
Why do some characters, like German ß, disappear from the slug?
The tool works purely through Unicode decomposition. Characters that have no separable accent (ß, some ligatures, non-Latin scripts) cannot decompose to a–z, so they drop out. We do not do phonetic transliteration like ß→ss.
Is my text sent anywhere?
No. The whole conversion runs directly in your browser via JavaScript. No text leaves your device, so you can use the tool offline and on sensitive data.
Can it handle Cyrillic, Chinese or emoji?
It strips diacritics over the Latin alphabet correctly. Characters outside basic Latin (Cyrillic, Chinese, emoji) have no a–z equivalent, so they vanish from the slug. For such languages no meaningful slug is produced.
Are multiple spaces and hyphens collapsed?
Yes. Any continuous run of disallowed characters — including several spaces or hyphens in a row — is replaced with a single hyphen, and edge hyphens are trimmed.
Can I use the output as a file name?
Yes. The slug contains only a–z, 0–9 and hyphens, which is safe for file names across operating systems and for URLs. You avoid problems with spaces and accents.
Sources & standards
📅 Last updated: 16 July 2026