LaTeX Equation Editor
A free LaTeX equation editor with a live preview: type math or click a symbol, then copy the result as LaTeX, MathML or HTML.
Your equation will appear here as you type.
How do you use this equation editor?
- Type math into the box, without dollar signs. The preview updates as you type.
- Click a symbol in the palette to insert its command where the cursor is.
- Pick Display for an equation on its own line, or Inline for math inside a sentence.
- Copy the result: LaTeX for a .tex file, MathML or HTML for a web page.
How do you insert symbols without memorizing commands?
Use the palette. Hover a button to see its command. Select part of your formula before clicking a structure such as a fraction or a root, and the selection goes inside it: select x+1, click the root, and you get \sqrt{x+1}.
Which LaTeX commands work here?
Math-mode commands from LaTeX and amsmath work, including aligned, cases and the matrix environments. Symbols from amssymb work too. Commands from other packages, such as siunitx or physics, are not supported. When something can't be read, the error appears under the preview.
How do you put the equation into Word?
In Word for Microsoft 365, insert an equation (Alt+=), switch the equation format to LaTeX, paste the copied LaTeX and convert it. For Google Docs, slides or anywhere that takes pictures, turn the formula into an image with the LaTeX to image tool.
Where can you learn the commands?
The guides on fractions, subscripts and superscripts and matrices explain the common structures, and the math symbols list tells you what each sign means before you insert it.
Text drafted with AI from the KaTeX and LaTeX documentation; checked by Cem Demir. See the editorial policy.