Markdown to Word with math

Matrices, sums with limits, Greek letters, roots and accents: every math symbol and structure is mapped to the exact building block Word's equation editor uses.

Pro · preview is free

Linear algebra cheat sheet

A rotation by angle θ in the plane:

R(θ)=(cosθ−sinθsinθcosθ)

Sample variance of n observations with mean μ:

σ2=1n∑i=1n(xi−μ)2

Greek letters α,β,γ,Δ,Ω, the vector v→ and the set ℝn all map to Unicode in Cambria Math.

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

Paste Markdown with math

Matrices, operators with limits, Greek letters and accents in standard LaTeX notation between dollar signs.

2

Check every symbol

The preview typesets each structure as Word will. Unsupported commands are highlighted so nothing surprises you later.

3

Download editable equations

Open in Word, click into a matrix, add a row. It is the equation editor's own structure.

How math symbols and structures map to Word's equation editor

Word's equation editor is not a font trick. It is a small layout engine with a fixed vocabulary of structures: fraction, radical, n-ary operator, matrix, delimiter, accent, bar, box, function, limit, and script (subscript, superscript, or both). Every equation in a .docx is a tree built from those structures, expressed in OMML, and every symbol is a Unicode character rendered from the Cambria Math font. Converting math from Markdown therefore means answering two questions for each piece of LaTeX: which Word structure is it, and which Unicode code point does it use. This page documents those answers. The sibling pages cover LaTeX delimiters and the overall pipeline, inline formulas and line height, and block equations with numbering.

Symbols: LaTeX commands to Unicode

Greek letters are the most common case. \alpha becomes U+03B1 α, \Omega becomes U+03A9 Ω, and the variant forms \varepsilon and \varphi map to their own code points rather than being approximated. Word italicises lowercase Greek by default because it treats them as variables, which matches LaTeX behaviour. Blackboard bold \mathbb{R} becomes the double-struck character ℝ U+211D, and \mathcal{L} uses the Mathematical Script block, so both survive copy and paste into other programs. Relations and operators map one to one: \leq ≤, \neq ≠, \approx ≈, \times ×, \cdot ⋅, \infty ∞, \partial ∂, \nabla ∇, \in ∈, \subseteq ⊆, \rightarrow →, \Rightarrow ⇒, \forall ∀, \exists ∃. Spacing commands \, \; \quad become the Unicode thin, medium and em spaces Word expects.

Structures: LaTeX constructs to OMML elements

LaTeXWord structureOMML element
\frac{a}{b}, \tfrac, \dfracStacked fractionm:f
a^2, a_i, a_i^2Superscript, subscript, bothm:sSup, m:sSub, m:sSubSup
\sqrt{x}, \sqrt[3]{x}Radical with optional degreem:rad
\sum_{i=1}^{n}, \int_a^b, \prodN-ary operator with limitsm:nary
\lim_{x\to 0}Function with lower limitm:func + m:limLow
\begin{pmatrix}…\end{pmatrix}Matrix inside parenthesesm:d wrapping m:m
bmatrix, vmatrix, BmatrixMatrix with [ ], | |, { }m:d with begChr/endChr
\left( … \right), \left\{ … \right.Stretchy delimiters, one side optionalm:d, empty endChr
\vec{v}, \hat{x}, \dot{y}, \tilde{n}Accentm:acc
\bar{x}, \overline{AB}, \underline{y}Bar above or belowm:bar
\binom{n}{k}Fraction with no bar inside parenthesesm:d + m:f type noBar
\text{if } x>0Upright normal text runm:r with m:nor
\mathbf{x}, \mathrm{d}Bold or upright run stylem:sty b / p
\begin{cases}Left brace with equation arraym:d + m:eqArr
\sin, \log, \maxRecognised function name, uprightm:func

Why the structure matters after export

Because a matrix is written as an m:m element with rows and columns, Word's right-click menu offers Insert Row and Insert Column on it. Because a sum is an m:nary, you can toggle its limits between above-below and subscript-superscript placement. Because \frac is an m:f, you can switch it between stacked, skewed and linear form. None of that is possible with an image or with a pasted string of Unicode characters. The preview typesets the same structures, so what you see is what the equation editor will build.

Coverage and gaps

The mapping covers the amsmath set used in practice, roughly 400 commands. Commands with no Word equivalent, such as \xleftarrow with a label, \cancel, and the chemistry package \ce, are shown in the preview with a highlight and exported as upright text so they remain readable. User macros from \newcommand are expanded when defined in the same document. Math is exported as native Word equation objects; free users get the preview and the LaTeX source in the file, while Pro unlocks the OMML download. The same symbol table drives Markdown to PDF with math.

Math symbols in Word: MDtoDOCX vs Pandoc vs copy-paste

Symbol handlingMDtoDOCXPandocCopy into Word
Greek letters and operatorsUnicode in Cambria MathUnicode in Cambria MathBackslash commands as text
MatricesEditable m:m with rows and columnsEditableLost
Sum and integral limitsn-ary with limits, toggleablen-aryLost
Accents and barsm:acc, m:barSupportedLost
Blackboard and script fontsProper Unicode blocksProper Unicode blocksPlain letters
Unsupported commandHighlighted, kept as upright textError or droppedn/a
Preview of each symbolYes, before downloadNon/a
InstallNonePandocNone

Frequently asked questions

Are Greek letters real characters or images?
Real Unicode characters set in Cambria Math. You can select, copy and search for them, and change one letter without touching the rest of the equation.
Can I add a row to a matrix in Word?
Yes. Matrices are exported as Word matrix structures, so right-click inside one and the Insert Row and Insert Column commands are available.
Do sum and integral limits appear above and below?
In display equations, yes. In inline equations they move to subscript and superscript position so the line height stays even. Word lets you toggle this per operator.
What happens to commands Word cannot represent?
They are highlighted in the preview and exported as upright text inside the equation, so the meaning is preserved and you can fix it in Word if needed.
Is blackboard bold supported?
Yes. mathbb letters map to the Unicode double-struck block and mathcal to the script block, so they render correctly and survive copying into other applications.
How is this page different from the formulas and equations pages?
This page covers symbols and structures. The formulas page covers inline math flowing inside sentences, and the equations page covers block equations with numbering and cross-references.
Does math conversion require Pro?
The typeset preview is free. Downloading native Word equations requires Pro. Free downloads include the LaTeX source in a monospace paragraph.
Is anything uploaded?
No. The parser and the OMML writer run in your browser. Your document never leaves your device.