You convert a PDF to Word and the result is boxes, gibberish, or codes like (cid:123). The culprit is font encoding. This is the classic pdf to word garbled text problem. Many PDFs embed fonts without a Unicode mapping, called a ToUnicode table. The letters look fine on screen. They extract as symbols, boxes, or nonsense characters. Here is why it happens, how to test your PDF before converting, and the OCR workaround that fixes it.
Why PDF to Word Shows Gibberish or Boxes
Missing Unicode Mapping
PDF files carry fonts that are not fully mapped to Unicode. The font uses a custom encoding that maps characters to glyphs for display only. The PDF stores no record of what each character means. A converter trying to extract text hits codes like (cid:123) instead of the letter A. That is why you see pdf to word weird characters or empty boxes. The font is embedded, but without a ToUnicode table the converter cannot translate glyphs back into readable text.
Font Substitution in Word
Missing fonts on your system cause a second problem. If Word cannot find the font used in the PDF, it swaps in a different one. Character shapes change. Unexpected symbols or boxes appear. This is word font substitution.
How to Test Your PDF Before Converting
Spend thirty seconds on a test before you commit to a full conversion. Copy a sentence from the PDF. Paste it into Notepad or TextEdit. If the pasted text is garbled, shows boxes, or appears as codes, every converter will produce the same mess. This is the definitive check for pdf copy text gibberish.
Clean copy means the PDF has proper Unicode mapping. Conversion should work. Garbled copy means you need the OCR workaround below.
Understanding Font Encoding and CID Characters
CID characters pdf appear in PDFs that use Asian fonts or custom font subsets. CID stands for Character Identifier. These codes are placeholders the PDF uses to reference glyphs. Without a ToUnicode table, a converter sees only CID numbers, not letters. It is a specific case of pdf fonts not converting.
The font is embedded. The converter still needs a mapping between the internal glyph ID and a Unicode value. Missing mapping means gibberish output.
Checking and Fixing Font Substitution in Word
Open a converted document in Word and missing fonts can break the display further. On Windows, check which fonts are being substituted. Go to File, then Options, then Advanced, and find the Font Substitution section. You will see a list of missing fonts and the substitutes Word chose. Swap an incorrect substitute for a font that has the right character set.
This fixes display only. It does not repair the underlying encoding if the original PDF lacked a ToUnicode table.
The OCR Fallback Reading Visible Shapes
If the copy-paste test fails, OCR is the only reliable workaround. Instead of reading hidden text codes, OCR looks at the visible shapes of the letters and converts them to editable text. The missing Unicode mapping becomes irrelevant.
Convert the PDF pages to images first, as PNG or JPEG. Then run OCR software on those images. The PDF to Word tool at pdftoword-converter.online includes an OCR option for scanned or image-only PDFs. Accuracy depends on image quality, font clarity, and layout complexity. Clean, high-resolution pages produce good results.
What the PDF to Word Tool Can and Cannot Do
The PDF to Word tool converts a PDF into an editable .docx file. It reconstructs headings, paragraphs, text styling, layout, and tables. Very complex layouts may shift slightly. For PDFs that contain actual text, not scanned images, the tool extracts the text directly. If the PDF has missing Unicode mapping, the tool produces the same garbled output as any other converter.
Scanned, image-only PDFs have no text to extract. The tool needs OCR to generate editable text. It supports that process.
Step by Step Fixing Garbled Text from PDF to Word
- Open the PDF and copy a sentence into Notepad or TextEdit to test if the text extracts cleanly.
- If the text is garbled, use OCR. Convert the PDF pages to images with a screen capture or a dedicated PDF-to-image tool.
- Run OCR on the images to get editable text. The PDF to Word tool at pdftoword-converter.online handles this for scanned PDFs.
- If the text copies cleanly but still shows boxes in Word, check font substitution: File > Options > Advanced > Font Substitution (Windows). Change the substitute font to one that supports the needed characters.
- If the PDF has custom-encoded fonts with CID characters, OCR is the only fix.