TOOLTIKI Lovable tool, really free
Text Cleanup

Unicode normaliser

What to do

Transformed in your browser · nothing is uploaded

Local · NFC for storage, NFKC for search
Advertisement
320 × 100

Converts text between Unicode normalisation forms. Two strings can look identical, print identically and still not match, because the same accented character has more than one valid encoding.

How to use the unicode normaliser

1 Paste your text into the first box.
2 Choose what you want done to it.
3 Copy the result, or save it as a text file.

An é can be one codepoint (U+00E9) or two (e followed by a combining acute accent), and both render identically. macOS historically stored filenames decomposed while almost everything else composes, which is why a filename copied from a Mac can fail to match the same name typed on Linux — a bug that looks like magic until you know about normalisation. NFC composes and is what you almost always want for storage and comparison. NFKC additionally folds compatibility characters, turning the fullwidth A into A and the ligature fi into fi, which is right for a search index and wrong if you need to preserve exactly what someone typed.

Questions

Because an accented character has more than one valid encoding. Normalise both to NFC before comparing.

Unicode — the Unicode standard
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING