How to Recover Garbled or Missing Equations in Word
Explain the causes of the three common situations in Word where equations disappear, display as garbled code, or turn into images, and provide troubleshooting and repair steps in order, to help you restore the equations to an editable state.
Key Points of This Article
- First, distinguish whether the formula has disappeared, is displayed as code, or has turned into a picture; the fixes differ for the three cases.
- When it shows as {…} or as field codes, it is usually a display setting issue; toggle the display of field codes to check.
- A formula that has become a picture usually comes from copy-and-paste or format conversion, and needs to be re-entered using the equation feature.
- For formulas copied from PDFs or web pages, it is recommended to check each symbol and subscript/superscript against the original text.
When writing papers, reports, or contracts in Word, you occasionally run into the problem of Word equations disappearing: a fraction you had is gone, leaving a blank space; or the equation has turned into a string of characters like {a over b}; or an entire equation has been flattened into a picture that can't be edited even by double-clicking. When this happens, don't rush to retype it, because in most cases the cause is just display settings, file format, or the way it was pasted, and restoring it is not difficult.
This article is for people who need to edit existing documents, including those who have copied content from elsewhere, those who have received files from others, and those who have saved files in an older version. After reading it, you will be able to identify which type of problem your formula has, work through the troubleshooting steps in order, and restore it to a Word formula that you can continue to edit.
The approach below is based on Word's general-purpose features. If the formulas come from a PDF, a web page, or other software, some content will still need to be checked against the original text.
Word formula disappeared — how do I restore it to an editable formula? One-sentence answer
First diagnose the symptoms, then treat them accordingly: formulas that display abnormally can usually be restored, while formulas that have been turned into pictures generally need to be re-entered.
| Your situation | Recommended Practices | Cause |
|---|---|---|
| The official position is blank; nothing can be seen. | Check for hidden text and compatibility mode, then see whether the formulas are inside text boxes. | Text is set to hidden, or the legacy format does not fully support the new formula |
| {a over b}, EQ, or field codes are displayed | Press Alt+F9 to toggle field code display, and update fields as needed. | Field code display switch is turned on, or formulas are saved as linear text |
| The formula has been turned into a picture, so it cannot be edited by double-clicking. | Compare against the original image and re-enter it using the formula feature. | Pasting as an image when copying, or after format conversion |
| Symbols turn into boxes or garbled glyphs | Check whether formula fonts are missing, and switch to standard math fonts. | The fonts used in this document are not installed on the current computer. |
| Formula structure is scrambled when copied from a PDF or web page | Retype one by one, and check key formulas against the original. | The formatting of the original text is lost when copying. |
First, determine which type of problem it is
The table below can help you quickly identify the cause; each row provides a way to verify it.
| Symptoms | Common causes | How do I confirm? |
|---|---|---|
| Blank space, can't see the formula | Hidden text; the document is in compatibility mode; formulas are in text boxes or have been deleted | Press Ctrl+Shift+8 to show formatting marks, and check whether there are dotted underlines; check whether the title bar is marked "Compatibility Mode". |
| Display {, EQ, Error! and other characters | Domain code display is enabled; linear text is not converted | Press Alt+F9 to toggle the display and check whether the content switches back to formulas. |
| Convert formula to image | When copying, I selected the image and pasted it; format conversion; screenshot insertion. | When you click a formula and can only move or resize it as a whole, without being able to enter the formula to edit it, then it is a picture. |
| Symbols turning into boxes, garbled glyphs | Missing font; abnormal character encoding | Find the font used by the formula in the font list; switch to another computer and compare when opening it. |
| Superscripts/subscripts and fraction positions are misaligned | Structure is lost when copying from other formats | Compare against the original text point by point and identify where the misalignments occur. |
Item-by-item troubleshooting and fixing
Follow the steps below in order; this will help you find the problem more quickly, and the later steps require more caution.
- Confirm the file format. If the title bar shows "Compatibility Mode," or the file extension is .doc, newer equations may not display correctly. You can first save the file as .docx and then check whether the equations are restored.
- Check for hidden text. Select the area containing the equation and press Ctrl+Shift+8 to show formatting marks. If dotted underlines appear, the text is set as hidden. Clear the "Hidden" option in the font settings.
- Toggle field code display. Press Alt+F9. If {…} or EQ codes have turned back into equations, the problem is only the display mode. Press Alt+F9 again to restore the original view.
- Update fields. Before doing this, save a copy of the document, then press Ctrl+A to select the whole document and press F9 to update the fields. Equation fields will be recalculated and displayed according to the current settings.
- Determine whether the problem is with the file or with your computer. If the file was sent to you by someone else, ask them to re-save it in the current version, or open it on another computer. If it is abnormal on both sides, the problem is usually with the file itself; if it is abnormal only on your side, it is most likely caused by local fonts or settings.
- Deal with font issues. In the font list, check whether the font used by the equation is installed. If it is missing, you can save the file on a computer where it displays correctly, or change the equation font to Word's default math font.
- Test with a simple equation. Insert a short equation in a blank area to confirm that the equation feature works normally, then return to deal with the other parts. This helps rule out a fault in Word itself.
The formula has been turned into an image. How do I change it back?
Formulas in image form cannot be automatically converted back into editable formulas; they can only be re-entered manually. It is recommended to proceed as follows:
- First, look for the original source, such as the manuscript, the original Word file, or the LaTeX source. If you have the source code, copy it as plain text, then use Word's equation feature to convert it into professional formatting.
- If there is no source, insert an equation in Word by pressing Alt+= while referring to the image. Enter the symbols one by one, and for structural parts, use the equation templates to choose fractions, radicals, or superscripts and subscripts.
- After you finish typing, delete the original image and compare the new equation with the original item by item. Pay particular attention to superscripts, subscripts, and the nesting level of brackets.
- If the equation comes from a scanned PDF, you can first use the OCR function of a PDF editor to recognize the text, then organize the results in Word. The recognized text must also be checked character by character, and the equation structure must be confirmed manually.
- For scenarios where you need to switch back and forth between Word and LaTeX, you can also use the UniDoc web editor (app.unidoc.top). It supports equation editing and provides round-trip conversion between Word and LaTeX.
How to Avoid It Happening Next Time
The following practices can reduce the chances of formula corruption and also help you recover more quickly when problems occur.
- When copying formulas, select the entire formula object before copying, and do not use a screenshot in place of the formula.
- After copying content from a PDF or web page, paste it into the document and check whether each formula can be double-clicked to edit; for any formula that cannot be edited, retype it directly.
- Before delivering the document, save it in .docx format and open it once on another computer or in another software version to check it.
- When writing a long document, keep a copy of the source file (such as LaTeX or Markdown source code), so that if a formula becomes corrupted, it can be regenerated directly from the source.
- Before large-scale editing or merging documents, save a backup copy first, to avoid a single operation damaging multiple formulas at once.
❓ Frequently Asked Questions (FAQ)
1. Word formulas are missing, but the file is still there—can they be recovered?
Usually it can be fixed. The formulas are most likely affected by hidden or display settings, so check for hidden text, field codes, and compatibility mode as described above. If the file has already been overwritten, try recovering it from a backup or an earlier saved copy.
2. Formulas showing up as code like {a over b}, is the file broken?
In most cases, it isn't. This kind of notation is linear format or field codes; you only need to toggle the display mode, or use the equation feature to convert the linear text into professional format. If it still behaves abnormally after conversion, then consider whether the file is corrupted.
3. Why are formulas copied from PDFs always garbled?
PDF records the positions of text on the page and does not preserve the structure of formulas, so superscripts, subscripts, and fractions are easily misaligned when copied. For key formulas, it is recommended to retype them one by one and check them against the original text.
4. Can formulas still be used after they are turned into images?
Formulas in images can be read and saved, but their content cannot be modified, and it is inconvenient to adjust the font size or make them consistent with the body text layout. When editing is needed, the formula should be re-entered as an editable formula.
📝 Summary
Word formulas have disappeared, are showing as code, or have turned into pictures. In most cases, checking the display settings and file format will fix the problem; only formulas in picture form need to be re-entered. Following the troubleshooting order in this article will help you quickly identify the cause and restore the formulas to an editable state.


