A Word document that opens full of strange symbols on a Mac
A Word document that opens as a wall of symbols is rarely as damaged as it looks. Most of the time the file is being opened by the wrong app, the text was saved in a different character encoding than the one your Mac is guessing, or the document uses a font you do not have. Genuine corruption is the fourth possibility, and the easiest to confirm once the other three are ruled out.
The kind of garbage on screen is a strong clue, so start there.
Read the symptom first
- The document starts with
PKfollowed by unreadable characters: you are looking at the raw inside of a DOCX in an app that does not understand it. The file is probably fine. - Mostly readable text, but accented letters, quotes and apostrophes turn into odd pairs of characters: an encoding mix-up. The words are there; they are being decoded with the wrong table.
- Neat rows of empty boxes or symbols where some text should be, with the rest normal: a missing or substituted font.
- Word shows a few normal paragraphs, then nonsense, or reports the file needs repair: damage inside the document.
Opened in the wrong app
A DOCX file is a ZIP archive containing XML files. Word and Pages unpack it and lay out the text. A plain text editor does not; it shows the compressed bytes, which look like random symbols with the letters PK near the start.
This happens when TextEdit or another editor has become the default app for the extension, or when an attachment opens in a viewer that guesses badly.
- Right-click the file in the Finder and choose Open With, then pick Word or Pages.
- To fix the default, choose File > Get Info, find Open with, choose the app, and click Change All.
Pages opens DOCX files well enough to read and edit most documents, so you do not need Word to check whether the file is intact.
Check what the file really is
Extensions can be wrong, especially on files saved from websites or exported by other software. Open Terminal and run:
file ~/Downloads/report.docx
Useful answers:
- A Word 2007+ document or Zip archive data: a real DOCX.
- Composite Document File: an older
.docfile with the wrong extension. Rename it to.docand it will open. How to convert an old .doc to .docx covers updating it. - Rich Text Format data: an RTF file. Rename it to
.rtf; TextEdit opens it directly. - HTML document: a web page saved as a Word file, common with exports from online systems. Opening it in Safari often shows the content correctly.
- UTF-16 or ASCII text: a plain text file. That leads to the encoding question below.
Fixing an encoding mix-up
Plain text files do not record which character encoding they use, so the app opening them has to guess. When it guesses wrong, “café” becomes a jumble of two odd characters where the é should be, and curly quotes turn into sequences of symbols. The text is intact; it is only being read incorrectly.
In TextEdit:
- Choose TextEdit > Settings, then the Open and Save tab.
- Under Plain Text File Encoding, set Opening files to Unicode (UTF-8).
- Close the document and open it again with File > Open.
If UTF-8 does not look right, try the other common choices in the same menu, such as Western (ISO Latin 1) for files from older systems, or UTF-16 if the file command said so. When the accents and quotes look right, save a copy.
Word usually shows a File Conversion dialog when it opens a plain text file with an uncertain encoding, with a preview that updates as you pick an encoding. Choose the option where the preview reads correctly.
If you only need the words, converting to plain text with a known encoding is often the cleanest end point; how to convert a Word document to plain text walks through it.
A font you do not have
Some documents use symbol or icon fonts for bullets, check boxes and arrows, or a specialist font for a language or a company brand. If that font is not installed on your Mac, the app substitutes another font, and the characters that were meant to be symbols come out as letters, boxes or the wrong symbols.
The tell is that the problem is localized and consistent: every bullet is the same wrong character, or every check box is a square. The surrounding text is normal. Click on one of the odd characters and look at the font name in the toolbar; if it appears in brackets, italics or with a warning, the font is missing.
Ask the sender to embed fonts when saving, or to send a PDF alongside the document if only the look matters. Changing the affected characters to a font you have fixes them for good.
When the document really is damaged
If the file command says it is a real DOCX, the right app is opening it, and the content still turns to nonsense partway through, part of the file is damaged. That usually happens after an interrupted save, a failing drive, a sync conflict or an email attachment that arrived incomplete.
Try these first:
- Get the file again from its source, whether that is the sender, a backup, or a version in your cloud folder’s history.
- Duplicate the file in the Finder and open the duplicate in Pages. A different reader sometimes gets past a damaged section that stops another.
If none of that works, Manatee repairs Word documents. Drop the file onto its menu bar icon or window, or right-click it and choose Services > Fix with Manatee. It rebuilds a new document from the parts of the archive that survive and saves it next to the original, which it does not modify. The result says Fixed, Partial or Not fixable, so you know whether any text was lost. Manatee runs on your Mac with no upload and no account, and it is free to try for 24 hours. Fixing a DOCX that Word says is corrupt covers repair in more depth.
Questions
Can a virus make a document show strange symbols? Garbled characters are almost always one of the ordinary causes above. A document that shows odd characters and asks you to enable macros or content to “fix” it is a warning sign, though; do not enable anything in a file you were not expecting.
Why does the document look fine on the sender’s computer? Their computer has the font, the default encoding or the app that yours does not. Ask them to export a PDF to confirm what it should look like.
Will saving the garbled version make it worse? It can. Saving locks in whatever the app misread. Work on a duplicate until the text looks right.