Text Encoding Detector

Your workspaceProcessed on your device

A few things to know.

Files up to 5 MiB and pasted text up to 100,000 UTF-16 units. Supports exact checks for UTF-8 and UTF-16 or UTF-32 signatures. Legacy model scores sample the first 64 KiB and are heuristic. Browser decoders determine which previews are available. Short and ASCII-only files can remain ambiguous.

  1. Open the original file and choose Inspect encoding. Paste only when you want to check the UTF-8 bytes of text already in the browser.
  2. Read the signature, strict decoding or statistical evidence. Compare likely encodings in Preview as.
  3. Use the familiar words, punctuation or source settings to choose a decoding. Download the decoded UTF-8 text or save a JSON report.