Unicode text normalizer
Normalize Unicode text to NFC, NFD, NFKC or NFKD and optionally compare two texts after normalization.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Text can look identical yet use different Unicode code points. Paste text or choose one UTF-8 file, optionally add a second text, and check whether they become identical in the selected form before copying or downloading the result.
How to use this tool
- Paste text or choose one UTF-8 file. For two filenames or strings, paste the other one into the optional second input.
- Choose NFC or NFD for canonical equivalence; use NFKC/NFKD only when compatibility folding is intentional.
- Inspect the first code point change and, if supplied, the before/after comparison. Copy or download the normalized first text as UTF-8 TXT.
Supported inputs and limits
Pasted text and the optional second text are each limited to 1 MiB; one UTF-8 file is limited to 10 MiB and 50,000 physical lines. Input stays in this browser.
NFKC/NFKD can replace compatibility characters and lose distinctions. Keep the original if spelling, symbols or formatting matter.
Normalization does not strip accents, transliterate scripts, remove invisible characters or check visually confusable text.
Worked example
Example input
Café
Example options
{"form":"NFC"}Example output
Café
When something does not work
Pasted text is limited to 1 MiB; one UTF-8 text file is limited to 10 MiB and 50,000 physical lines. Input stays in this browser.
Frequently asked questions
Why do the characters still look the same?
Canonical normalization can change code points without changing appearance. The result shows input/output code point counts and the first changed sequence. If it says unchanged, the text was already in the selected form.
Which form should I choose?
NFC is the general-text default. NFD separates composed characters. NFKC and NFKD also fold compatibility characters, such as circled digits or ligatures, and can lose meaningful distinctions.
Does this remove accents or make names safe to compare?
You can compare two manually entered strings after normalization. This does not remove accents, fold case, transliterate, detect visual confusables or batch-rename files.
Is my input uploaded?
No. The text or chosen file is processed in this browser. Save the result before refreshing or closing the tab.
Documentation & further reading
Related tools
Convert text encoding
Choose the right text encoding and save a readable TXT file.
Merge text files
Put several text files together in the order you choose.
Word counter
Words, characters, and paragraphs at a glance.
Case converter
Change letter case to suit your text.