Markdown to Word with LaTeX

Write $E=mc^2$ in Markdown and get a native, editable Word equation, not a picture and not raw dollar signs. Converted in your browser.

Pro · preview is free

Special relativity notes

Einstein's mass–energy relation is E=mc2, where c is the speed of light in vacuum.

The area under a parabola on the unit interval is

∫01x2dx=13

Both the inline and the display form become Word equation objects you can keep editing.

Converted in your browser. Your file never leaves your device.
1

Paste Markdown with LaTeX

Use $…$ for inline math and $$…$$ for display math. \(…\) and \[…\] work too.

2

Check the rendered preview

Every equation is typeset in the preview exactly as Word will lay it out, in Cambria Math.

3

Download and keep editing

Double-click any equation in Word to open the Equation tab. Nothing was uploaded.

How LaTeX syntax becomes a native Word equation

Word does not store equations as LaTeX and it does not store them as images. It stores them in OMML, Office Math Markup Language, inside the same document.xml that holds your paragraphs. An equation is an <m:oMath> element whose children describe structure: a fraction is <m:f> with a numerator and a denominator, a superscript is <m:sSup>, an integral with limits is an <m:nary> node. Because the structure is explicit, Word can re-flow it, resize it with the surrounding text, and let you edit any piece with the built-in equation editor.

MDtoDOCX converts LaTeX to OMML in three passes. First a LaTeX parser reads the source between your delimiters and builds a syntax tree; it understands the command set most people actually use in Markdown: \frac, \sqrt, ^ and _, \int, \sum, \prod, \lim, Greek letters, \left( and \right), \text{}, \mathbf, \mathbb, and the matrix, cases and aligned environments. Second, that tree is written as MathML. Third, the MathML is transformed into OMML with the same mapping Word itself uses when you paste MathML into a document. The result opens as an equation, not as text that resembles one.

Which delimiters are recognised

Single dollar signs mark inline math and double dollar signs mark display math, the convention used by Pandoc, Obsidian, Jupyter and most AI chat interfaces. The LaTeX-native forms \(…\) and \[…\] are also accepted. A dollar sign followed by a digit and a space, as in $5 each, is treated as currency, and \$ always prints a literal dollar sign. Display equations are written as an <m:oMathPara> paragraph, centred on its own line; inline equations sit in a run inside the surrounding paragraph and wrap with the text.

What you see in Word

Open the file and click an equation. The Equation tab appears in the ribbon, exactly as if you had inserted it with Alt+=. You can switch between Professional and Linear form, convert it to plain text, change to inline or display, or type new LaTeX into it because Word 365 has accepted LaTeX input since 2017. Equations use the Cambria Math font regardless of the body font you chose, which is Word's own behaviour and the reason equations look consistent across machines. Track Changes, comments and the accessibility checker all treat the equation as content, not as a picture.

The free path and the Pro path

Equations are exported as native Word math objects. Free users get the full preview so they can confirm every symbol before deciding; Pro unlocks the download with OMML inside. A free download still contains the equation, but as the original LaTeX source in a monospace paragraph, so nothing is lost and you can convert it later. Pro also removes the footer credit and enables the numbered equations workflow with cross-references.

Limits worth knowing

Macros defined with \newcommand are expanded only when they are defined in the same document. TikZ, \includegraphics and other drawing packages are not equations and are left as code. If you need a specific symbol, the symbol coverage table lists every operator, accent and structure we map. For chemistry or finance written inside sentences, see inline formulas in Word, which covers line-height behaviour in detail. The same LaTeX pipeline also drives Markdown to PDF with LaTeX.

LaTeX in Word: MDtoDOCX vs Pandoc vs copy-paste

LaTeX handlingMDtoDOCXPandocCopy into Word
Output formatNative OMML equation objectsNative OMMLRaw $…$ text
Editable in Word's equation editorYesYesNo
Preview before downloadYes, typeset in the browserNo, open the file to checkn/a
Install requiredNonePandoc binary, plus filters for numberingNone
Display vs inline distinctionKeptKeptLost
Unsupported commandShown in preview, kept as textConversion error or silent dropn/a
Where it runsYour browserYour terminalYour clipboard

Frequently asked questions

Does Word actually understand LaTeX?
Word 365 accepts LaTeX typed into an equation box, but it does not read LaTeX from a pasted document. That is why the conversion has to produce OMML. MDtoDOCX does that for you, so the file opens with real equations rather than dollar-sign text.
Which LaTeX commands are supported?
Fractions, roots, sub- and superscripts, integrals, sums, products, limits, Greek letters, common accents, brackets with \left and \right, \text, bold and blackboard fonts, and the matrix, cases and aligned environments. The full list is on the math symbols page.
Will the equations be editable after download?
Yes. Click any equation and the Equation tab appears. You can change symbols, switch to linear form, or convert to text. They are ordinary Word math objects.
What does the free version give me?
The full typeset preview and a .docx where each equation is written as its LaTeX source in a monospace paragraph. Pro replaces that with native equation objects.
What font do the equations use?
Cambria Math, which is Word's default math font and is installed with every copy of Office. Your body font choice does not affect equations, which matches Word's own behaviour.
Can I convert a ChatGPT answer that contains LaTeX?
Yes. ChatGPT and Claude emit $…$, \(…\) and \[…\] delimiters, all of which are recognised. The ChatGPT to Word page and the browser extension handle this case directly.
Does it work in Google Docs or LibreOffice?
LibreOffice opens OMML equations and converts them to its own formula objects. Google Docs imports them as editable equations for most structures, though very complex layouts may be flattened.
Is my document uploaded to convert the math?
No. The LaTeX parser and the OMML writer run in your browser. The text you paste never leaves your device.