Why ChatGPT math breaks in Word
ChatGPT doesn't write formulas as pictures or Word equations. It writes them in LaTeX, a text code for math, and the chat window renders that code nicely on screen. When you copy the answer, you get the code — or, depending on the browser, a mix of half-rendered characters. Word doesn't understand either, so you end up with something like:
\[ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]
instead of a neat fraction with a square root. You'll recognise ChatGPT math by these delimiters:
\( … \)or$ … $— a formula inside a sentence (inline).\[ … \]or$$ … $$— a formula on its own line (display).
Method 1: convert the whole answer at once (fastest)
- In ChatGPT, click the copy icon under the answer.
- Paste it into the box at the top of this page. The preview shows every formula rendered.
- Click Download Word (.docx).
Every formula becomes a native Word equation — the same kind you get with Insert → Equation — so you can click it, edit it and change its size. Headings, tables, lists and code blocks in the answer come along too. This is the method to use for homework, lab reports, lecture notes and anything with more than one or two formulas.
Method 2: Word's own LaTeX input (one formula at a time)
Microsoft 365 versions of Word can read LaTeX themselves, one equation at a time:
- In Word, press Alt + = (or Insert → Equation).
- On the Equation tab, in the Conversions group, switch the input format from Unicode to LaTeX.
- Paste the formula without the
\[ \]or$$delimiters. - Click Convert → Current – Professional.
This works well for a single formula, but it's slow for a full answer: you have to find, strip and convert every equation by hand, and the text around it still needs its formatting fixed. Older Word versions (2016 and earlier) don't have the LaTeX option.
Method 3: ask ChatGPT for a different format
You can ask ChatGPT to "write the formulas in plain text without LaTeX". You'll get things like x = (-b ± √(b² − 4ac)) / (2a).
That pastes cleanly, but it's harder to read, isn't a real equation, and breaks down for anything with fractions inside fractions, sums or integrals.
Asking for "Word equations" or "MathML" doesn't help either: ChatGPT can only output text.
Which method should I use?
| Situation | Best method |
|---|---|
| A full answer with several formulas, tables or steps | Method 1 — converter |
| One formula to add to an existing document | Method 2 — Word's LaTeX input (or method 1 and copy the equation over) |
| A quick chat message or email | Method 3 — plain-text formulas |
What the converter handles
- Fractions
\frac, powers and indices, square and nth roots\sqrt[n]{x}. - Sums, products, integrals and limits with their bounds:
\sum_{i=1}^{n},\int_0^1,\lim_{x \to 0}. - Growing brackets
\left( … \right), binomials\binom{n}{k}, functions such as sin, log and exp. - Greek letters, accents like
\hat{x}and\vec{v}, blackboard letters\mathbb{R}, and symbols ≤, ≠, ≈, ∞, →, ∈. \text{…}inside formulas, and multi-linealignedderivations (one Word equation per line).
Prices such as "$5 and $10" stay normal text — they aren't mistaken for math.
Troubleshooting
- Some formulas stay as text. They probably have no delimiters (e.g. just
x^2in a sentence). Ask ChatGPT to "use LaTeX with \( \) for all math", or add the delimiters yourself in the box. - A matrix appears on one line. Matrices and
casesare kept as a single row with brackets. For a real grid, rebuild it in Word with Equation → Matrix. - The formula is cut off or shows odd symbols. You probably copied the rendered formula by selecting it with the mouse. Use ChatGPT's copy button instead: it copies the clean LaTeX source.
- Equations look different in Google Docs. Google Docs converts Word equations to its own equation format; they stay editable, but spacing can shift slightly.
For developers: the converter as a library
The LaTeX-to-Word engine behind this page is open source. Building .docx files in JavaScript with the
docx library? Install latex-to-docx
(MIT licence) and turn LaTeX into native Word equations with one function call. Source code and issues are on
GitHub.
Also for Claude and Gemini
Claude and Gemini write math the same way, so this works for their answers too. See ChatGPT to Word for all features, Claude to Word, Gemini to Word, or save the answer with formulas as a PDF via ChatGPT to PDF.
Frequently asked questions
How do I copy an equation from ChatGPT to Word?
Copy the answer with ChatGPT's copy button, paste it into the converter on this page and download the Word file. Every formula becomes an editable Word equation.
Why does ChatGPT math show as code in Word?
ChatGPT writes formulas in LaTeX, a text code for math. Word does not read LaTeX when you paste, so the code itself appears.
Can Word convert LaTeX by itself?
Microsoft 365 Word can, one equation at a time: insert an equation, switch the input to LaTeX, paste the formula without delimiters and choose Convert, Professional.
Are the equations editable in Word?
Yes. They are native Word equations, the same as Insert, Equation, so you can edit, resize and restyle them.
Does it work in Google Docs?
Yes. Open the downloaded .docx in Google Docs and the equations become Google Docs equations.
Is my text uploaded?
No. The conversion runs in your browser; your text never leaves your device.