Detect Text Encoding Issues

Find mojibake, replacement characters, unmapped glyphs and stray control characters in the text layer.

FreeIn-browser processing25 MB / file200 pages

Detect Text Encoding Issues

Runs in your browser · files are not uploaded

Drop your file here

or click to browse · 25 MB per file

PDF (with a text layer) accepted

Client-side processing: your file never leaves this browser tab. No upload, no server copy.

About Detect Text Encoding Issues

Detect Text Encoding Issues scans the real text layer of every page for the classic signs of broken encodings: U+FFFD replacement characters, mojibake sequences produced when UTF-8 bytes were decoded as Latin-1/Windows-1252, pdf.js “(cid:123)” output for glyphs no encoding maps, private-use-area characters and stray control characters. Each page is reported with issue kinds, counts and samples, so an export problem can be diagnosed before the document ships. A clean document is reported as clean; image-only pages contribute nothing.

How to use Detect Text Encoding Issues

  1. Upload the PDF.
  2. Run the scan — no options are needed.
  3. Read the per-page issues: replacement characters, mojibake, unmapped glyphs, control characters.

Supported formats, limits and processing

  • Input: PDF (with a text layer)
  • Output: JSON report
  • Processing: entirely in your browser. Files are never uploaded.
  • Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.

Privacy and file handling

This tool uses JavaScript and WebAssembly inside your browser. Your document is read locally, the output is created locally, and no file content is transmitted to our servers. Only an anonymous usage event (tool name and status, never the filename or content) may be recorded to measure reliability.

Troubleshooting

mojibake findings
The producer wrote UTF-8 bytes with a Latin-1 encoding — re-export with the correct encoding.
unmapped-glyph findings (cid:…)
The font subset has no ToUnicode map; re-embed the full font to fix extraction.
The report says clean but text looks wrong
Encoding issues describe extraction; visual-only problems are a rendering matter.

Detect Text Encoding Issues FAQ

What causes mojibake in PDFs?
Text was written with the wrong byte encoding when the PDF was produced — the bytes decode to “café” instead of “café”.
What does “(cid:123)” mean?
The glyph shown has no mapping in the font’s encoding, so the text cannot be extracted correctly — usually a subset font without a ToUnicode map.
Can the tool fix the issues?
No. It diagnoses; fixing means re-exporting or re-embedding with the correct encoding.

Related tools

More PDF Information tools