Unicode Normalizer
Apply Unicode NFC, NFD, NFKC or NFKD normalization to make text compare and store consistently. Optionally strip combining marks and convert mixed line endings to LF, CRLF or CR.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What normalization actually changes
Unicode lets the same visible text be encoded more than one way, so two strings that look identical can compare as unequal and fail a unique index. Normalizing rewrites the code points into a canonical order without changing what the reader sees. NFC composes a base character and its marks into the fewest code points and is the usual choice for storage; NFD does the opposite, splitting a letter like é into e plus a combining accent, which is what you want when a system needs to strip or process the marks separately.
Canonical versus compatibility forms
The NFKC and NFKD forms go further than their canonical counterparts: as well as reordering, they fold compatibility characters onto their plain equivalents, so a circled digit becomes an ordinary digit and a full-width Latin letter becomes a normal one. That is exactly right when you are comparing identifiers or search terms, but it discards a distinction the original text made, so it is not safe to apply blindly to content where those characters are meaningful. The chosen form is reported in the stats alongside the input and output lengths.
Stripping accents and fixing line endings
The remove-combining-marks option answers the common "fold an accented name to ASCII letters" requirement. It decomposes the text first — using NFKD when the chosen form is a compatibility one, NFD otherwise — and then deletes every combining mark, so accented letters keep their base letter and lose the decoration. The line-ending option is independent of normalization: it rewrites whatever mixture of CRLF, CR and LF the input contains into the one style you pick, or leaves it exactly as it arrived.
Where it runs
The work is a single pass over the string using the browser’s own normalize implementation, plus a regular-expression sweep for combining marks, so the result is identical to what any standards-compliant tool would produce. It all happens in your tab: the text is never sent anywhere and no request is made. The stats record the form used, the character counts before and after, and whether the output actually differs from the input, which is the quickest way to confirm that a normalization really was needed.
Questions
Which form should I use?
NFC is a safe default for storage and comparison. NFKC and NFKD also fold compatibility characters such as full-width letters and circled digits, so use them only when that loss of distinction is intended.
Does this upload my text?
No. Normalization uses the browser’s built-in String.normalize API and runs entirely on your device.
Why do two identical-looking strings compare as different?
The same visible character can be stored in more than one way — é as one precomposed code point or as e followed by a combining acute accent. Normalizing both to NFC collapses those spellings into one canonical sequence so an equality test or a database key actually matches.
Related tools
See categorySlugify
Turn a title into a clean URL slug — lowercase, hyphenated, accent-folded.
Case Converter
Convert between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case and more.
JSON Formatter & Validator
Pretty-print, minify, recursively sort keys or validate JSON, with line/column errors.
Add Line Numbers
Prefix every line with a running number, with configurable start, separator, zero-padding.