Unicode Text Normalizer

Normalize Unicode to NFC, NFD, NFKC or NFKD and compare code point counts.

Your workspace

Server processing

Review the example values, then run the tool.

The Unicode Text Normalizer transforms your text into one of four standard Unicode normalization forms (NFC, NFD, NFKC, or NFKD) and reports the change in total code point count.

How to normalize text

  1. Paste the text you wish to normalize into the input field.
  2. Select your preferred Unicode normalization form (NFC, NFD, NFKC, or NFKD) from the dropdown menu.
  3. Review the normalized text output and compare the code point counts provided to understand how the transformation affected your data.

Understanding normalization forms

Unicode normalization ensures that characters are represented consistently, which is critical for accurate text comparison and storage. NFC (Normalization Form Canonical Composition) and NFD (Normalization Form Canonical Decomposition) handle characters that can be represented in multiple ways, such as accented letters. NFKC and NFKD provide compatibility normalization, which also resolves compatibility characters like ligatures or superscripts into their standard equivalents.

Interpreting code point changes

The tool displays the total number of code points before and after processing. A change in this count is expected when moving between forms like NFD, which decomposes characters into base letters and combining marks, and NFC, which composes them. This metric helps you verify that your text has been transformed as intended.

Normalization example

Input: 'é' (e + acute accent) Normalization: NFD

The tool separates the character into two distinct code points: the base 'e' and the combining acute accent.

Frequently asked questions

Which normalization form should I choose?

Choose NFC for general web and document use, as it is the most common standard. Use NFD if you need to separate base characters from their accents, or NFKC/NFKD if you need to resolve compatibility characters.

Does this tool modify my original text permanently?

No, this tool only processes the text you provide in the current session. It does not save your data or alter any external files.

Continue your workflow