Detect Text Encoding Issues
Find mojibake, replacement characters, unmapped glyphs and stray control characters in the text layer.
Detect Text Encoding Issues
Runs in your browser · files are not uploadedAbout 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
- Upload the PDF.
- Run the scan — no options are needed.
- 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?
What does “(cid:123)” mean?
Can the tool fix the issues?
Related tools
More PDF Information tools
PDF Metadata Editor
View and edit the title, author, subject, keywords, creator and the creation/modification dates of a PDF.
View PDF Properties
Inspect PDF version, page count, page sizes, metadata, dates and form-field counts, then download the report as PDF, JSON or CSV.
Change PDF Version
Rewrite the PDF at a selected compatibility level for legacy readers.
View Embedded Fonts
List every font in the document with its embedding state and font program type.