File Encoding Detector
Tells you whether a text file is plain ASCII, clean UTF-8, or already damaged.
Loading the tool…
How to use this tool
- Load the file with the picker, or paste the text you are suspicious of.
- Select Check the encoding.
- If the mojibake row lists anything, the file was already damaged before it got here — fix the system that wrote it rather than the file.
- If a byte order mark is present, strip it before a strict parser reads the first column name.
What file encoding detector does
Encoding problems are almost never discovered at the point where they happen. A UTF-8 file gets read as Latin-1 somewhere in a chain of four systems, and what arrives at the end is a name spelled Renée that nobody can trace back. By then the original bytes are gone; the mangled characters are the real content of the file, and no amount of re-decoding will recover what was lost.
This page reports what is actually in the text: the proportion that is plain ASCII, how much sits in the Latin-1 range, how much is above it, how many characters are outside the basic plane, whether a byte order mark is present, and whether there are replacement characters. It also looks for the specific pairs a bad decode leaves behind — é for é, ’ for a right quote — because seeing one of those means the damage is already in the file and needs fixing upstream, not here. Nothing is uploaded.