Skip to content
Jellykit

Unicode Normalizer

Convert text to NFC, NFD, NFKC or NFKD and see exactly which characters change, with their code points.

  • Runs on your device
Loading tool

About Unicode Normalizer

Two strings can look identical and still fail to match, because “é” can be stored as one character or as an “e” followed by a combining accent. Normalizing puts every character into one agreed form so that comparisons, searches, sorting and database keys behave.

Pick a form and the normalized text appears with a table of every character that changed, what it became and how often, written out as code points. The compatibility forms (NFKC and NFKD) go further and replace ligatures, full-width letters, circled numbers and superscripts with their plain equivalents.

How it works

  1. The text is normalized with the browser’s own implementation of the Unicode Normalization Forms (UAX #15).
  2. To find what changed, the original is split into characters as a reader sees them, each with its accents, and each is normalized on its own and compared.
  3. Identical changes are grouped and counted, the most frequent first. A table lists up to 300 different changes.

Questions

Which form should I use?

NFC for storing and exchanging text; it is what the web and most systems expect. NFD when you need accents as separate marks. NFKC when matching user input such as usernames or search terms, where look-alike variants should count as the same.

Is NFKC safe to use on any text?

Not for text you want to keep as written. It turns “x²” into “x2”, “½” into “1⁄2” and “fi” into “fi”, which loses information. Check the table of changes before relying on it.

Why does a character change even in NFC?

A few characters, such as the Kelvin sign and the Angstrom sign, are duplicates that Unicode maps to an ordinary letter in every form. Marks typed in an unusual order are also put into their standard order.

How much text can it check?

Up to 2 MB at a time. The text is normalized in your browser and is not sent anywhere.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.