Unicode normalization inspector
See how NFC, NFD, NFKC and NFKD change a string. Keep the original, compare escaped values and inspect the exact code points behind the display.
Inspect your text
Compare normalization forms without replacing the original. This tool computes in your browser; it does not submit your text or place it in the URL.
Original, preserved
5 code points · 5 UTF-16 code units · 6 UTF-8 bytes
Escaped code points:
Cafe\u{301}Original code points (5)
One-based code-point positions. All code points shown.
| Position | Code point | Escaped value |
|---|---|---|
| 1 | U+0043 | \u{43} |
| 2 | U+0061 | \u{61} |
| 3 | U+0066 | \u{66} |
| 4 | U+0065 | \u{65} |
| 5 | U+0301 | \u{301} |
NFC
CHANGED · First code-point difference: position 4
4 code points · 4 UTF-16 code units · 5 UTF-8 bytes
Escaped code points:
Caf\u{E9}NFC code points (4)
One-based code-point positions. All code points shown.
| Position | Code point | Escaped value |
|---|---|---|
| 1 | U+0043 | \u{43} |
| 2 | U+0061 | \u{61} |
| 3 | U+0066 | \u{66} |
| 4 | U+00E9 | \u{E9} |
NFD
UNCHANGED · Exact match to original
5 code points · 5 UTF-16 code units · 6 UTF-8 bytes
Escaped code points:
Cafe\u{301}NFD code points (5)
One-based code-point positions. All code points shown.
| Position | Code point | Escaped value |
|---|---|---|
| 1 | U+0043 | \u{43} |
| 2 | U+0061 | \u{61} |
| 3 | U+0066 | \u{66} |
| 4 | U+0065 | \u{65} |
| 5 | U+0301 | \u{301} |
NFKC
CHANGED · First code-point difference: position 4
4 code points · 4 UTF-16 code units · 5 UTF-8 bytes
Escaped code points:
Caf\u{E9}NFKC code points (4)
One-based code-point positions. All code points shown.
| Position | Code point | Escaped value |
|---|---|---|
| 1 | U+0043 | \u{43} |
| 2 | U+0061 | \u{61} |
| 3 | U+0066 | \u{66} |
| 4 | U+00E9 | \u{E9} |
NFKD
UNCHANGED · Exact match to original
5 code points · 5 UTF-16 code units · 6 UTF-8 bytes
Escaped code points:
Cafe\u{301}NFKD code points (5)
One-based code-point positions. All code points shown.
| Position | Code point | Escaped value |
|---|---|---|
| 1 | U+0043 | \u{43} |
| 2 | U+0061 | \u{61} |
| 3 | U+0066 | \u{66} |
| 4 | U+0065 | \u{65} |
| 5 | U+0301 | \u{301} |
Choose the comparison you actually need
NFC and NFD use canonical equivalence. NFC composes where possible; NFD decomposes. NFKC and NFKD also apply compatibility mappings: fullwidth letters and circled digits can lose distinctions. Try the compatibility sample and compare both the rendered text and escaped output.
The first difference is a one-based code-point position, not an edit-distance calculation. The two sequences may align differently after that point. Each code-point table shows at most 64 entries; the normalized text and escaped output remain complete. Empty text is valid and has zero counts.
Code points are not displayed characters
An emoji sequence can contain several code points and more UTF-16 units than visible symbols. Counts here describe code points, JavaScript UTF-16 code units and encoded UTF-8 bytes, not grapheme clusters or display width. Unpaired surrogates are rejected so byte counts are not based on silent replacement.
Normalization has a boundary
This inspector does not lowercase, casefold, strip accents, transliterate, remove all invisible characters or detect lookalike attacks. Latin A and Cyrillic А remain different. A normalized result is not a security approval or a decision to merge records. Preserve original values and audit collisions before adopting a matching key.
Results use the executing JavaScript engine’s Unicode support. The browser does not expose its Unicode database version through this tool. Test your own runtime and storage system before using a result as a persistent matching policy.
Read the Python guide to normalization, casefold and collision audits →
Official references
References checked October 28, 2026.