LaTeX Equation Editor
Type LaTeX or click symbols and templates, and see the equation drawn as you type.
Try before you buy.
- Free preview: your equation drawn live with a MySmartCoPilot watermark across it and the first lines of its MathML; copying your own LaTeX is never locked.
- Locked until you unlock it: download and copy.
- Unlock: Pro pass, ₹179 for 30 days, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
LaTeX
Type the maths only, without $ signs. The symbol buttons insert at the cursor; select some LaTeX first to put it inside a fraction, a root or brackets.
Recent equations
Preview
Your equation appears here as you type.
This is the last equation that worked. Fix the LaTeX to update it.
Symbols and templates
Copy and download
This browser cannot turn MathML into a picture (Safari and every browser on iPhone and iPad cannot), so PNG is not offered here. Use Chrome, Edge or Firefox on a computer or an Android phone for PNG, or download the SVG or copy the MathML.
Show the MathML and Unicode
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
About the LaTeX Equation Editor
Write an equation in LaTeX, the notation of maths papers, Overleaf and most maths sites, or build it from the palette: templates for fractions, powers, roots and brackets, integrals, sums, limits and derivatives, matrices and cases, Greek letters, operators, relations, arrows, set symbols, accents and function names. The preview is redrawn as you type, as MathML (the W3C standard for maths on the web) drawn by your own browser.
The equation can then go wherever you need it: as LaTeX for Overleaf, Markdown and Word’s equation editor, as MathML for web pages, as Unicode text in the UnicodeMath format (x = (−b ± √(b² − 4ac))/2a) that reads well in a chat and that Office equations understand, or as a PNG picture or an SVG file. Everything happens in this browser: your equations are not uploaded.
How to use it
- Type LaTeX in the box, for example \frac{a}{b}, x^{2} or \sqrt{x}, or click a button in the palette. Select part of your LaTeX first to put it inside a fraction, a root or brackets; the cursor then moves to the next empty box.
- Watch the preview as you type. If the LaTeX has a mistake, the message says what is wrong and Show me where selects the place in the box.
- Choose Display for an equation on its own line (large fractions, limits below and above the operator) or Inline for maths inside a sentence.
- Pick the picture size, the text colour and the background, then copy the MathML, the Unicode text or the picture, or download a PNG or SVG — with a Pro pass, or after unlocking this result; without one you see the free preview with a watermark.
- Copy LaTeX copies your own code at any time (it is your own LaTeX, so the free preview never locks it), and the last equations you copied or saved are kept under Recent equations in this browser.
Examples
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}Unicode: x = (−b ± √(b² − 4ac))/2a
The numerator is put in brackets so that the whole of −b ± √(b² − 4ac) is over 2a; UnicodeMath removes such brackets when an equation is built up.
\int_0^1 x^2\,dx = \frac{1}{3}Unicode: ∫_0^1 x² dx = 1/3
\, adds the thin space that separates dx from the integrand.
\begin{pmatrix} a & b \\ c & d \end{pmatrix}Unicode: (■(a&b@c&d))
& separates the entries of a row and \\ ends a row; ■ and @ are their UnicodeMath counterparts.
|x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}Unicode: |x| = {█(x&"if "x ≥ 0@−x&"if "x < 0)┤\text{…} keeps words upright; in UnicodeMath they are written in quotes.
Common uses
- Putting a formula into slides, a worksheet or a message as a picture.
- Writing the MathML of an equation for a web page or a learning platform.
- Checking LaTeX before pasting it into Overleaf, a Markdown note or a forum post.
- Moving an equation into Word, PowerPoint or OneNote through LaTeX or UnicodeMath, without retyping it.
Which output to use
- LaTeX: Overleaf and other LaTeX editors, Markdown with maths, and Word’s equation editor in Microsoft 365, which accepts LaTeX.
- MathML: web pages and learning platforms. MathML (W3C MathML Core) works in all major current browsers (MDN: MathML), and the LaTeX is kept inside it as an annotation.
- Unicode: chats, e-mail and plain-text notes. It is written in UnicodeMath (Unicode Technical Note 28), the plain-text maths that Office equations read: x² + y² = r², √(x + 1), (a + b)/c.
- PNG: documents, slides and anywhere a picture goes. It is made at twice the pixels of the chosen size, so it stays sharp on high-resolution screens, on a transparent, white or coloured background.
- SVG: web pages. The file holds the equation as MathML, so it scales without blurring in a browser; programs that cannot draw MathML (Office, Inkscape, Illustrator) show nothing, so use PNG there.
Equations in Word, PowerPoint and OneNote
In Word for Microsoft 365, press Alt+= to start an equation, choose LaTeX as the format on the Equation tab, paste the LaTeX and convert it to the professional (built-up) form with Ctrl+=. Word does not take \begin…\end environments: write a matrix as \matrix{a & b \\ c & d} there. The other Office apps support only the UnicodeMath linear format, so paste the Unicode copy into an equation there, or use the PNG (Microsoft Support: linear format equations).
LaTeX in a minute
- Fractions and powers: \frac{a}{b}, x^{2}, x_{1}, x_{1}^{2}; braces group more than one character, as in e^{-x^2}.
- Roots: \sqrt{x}, \sqrt[3]{x}.
- Sums, integrals and limits: \sum_{k=1}^{n} k, \int_a^b f(x)\,dx, \lim_{x \to 0}.
- Greek letters and symbols: \alpha, \pi, \Delta, \infty, \le, \ne, \approx, \in, \to.
- Brackets that grow with their contents: \left( \frac{a}{b} \right); \left. … \right| for a one-sided bar.
- Words inside maths: \text{if }; function names stay upright with \sin, \log, \max or \operatorname{name}.
- Several lines lined up at =: \begin{aligned} a &= b \\ &= c \end{aligned}; matrices with pmatrix, bmatrix or vmatrix, and piecewise functions with cases.
- Spaces: \, (thin), \; (thick), \quad and \qquad; ordinary spaces are ignored in maths.
Limitations
- The preview and the PNG use your device’s maths font (Cambria Math on Windows, STIX Two Math on Apple devices). A device without a maths font draws large brackets and operators less well.
- PNG needs Chrome, Edge or Firefox: Safari, and every browser on iPhone and iPad, does not let a page turn MathML into a picture, so the PNG buttons are hidden there.
- The SVG holds MathML inside a foreignObject: browsers and web pages show it, but Office, Inkscape and Illustrator cannot. Use PNG there.
- Maths commands only: whole LaTeX documents, packages such as TikZ, pictures, links and HTML commands are not supported.
- One equation at a time, up to 5,000 characters.
- UnicodeMath covers fractions, scripts, roots, large operators, brackets, matrices, cases, accents, maths alphabets and text; rare commands are written as the characters they draw.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What do I get without a pass?
Without a pass, LaTeX Equation Editor shows your equation drawn live with a MySmartCoPilot watermark across it and the first lines of its MathML; copying your own LaTeX is never locked. Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
Why does my LaTeX show an error?
The usual causes are a { without its } (x^{2), a \left without a \right, a misspelt command (\fracc) or $ signs around the maths. The message names the problem and Show me where selects it; the preview keeps the last equation that worked, greyed, until the LaTeX is fixed.
What is the difference between Display and Inline?
Display is for an equation on a line of its own: fractions are full size and the limits of sums, products and limits sit below and above the symbol. Inline is for maths inside a sentence: everything is smaller and the limits move to the side, so the line height barely changes.
What is UnicodeMath?
A way of writing maths in plain text, described in Unicode Technical Note 28. It uses real maths characters (√, ∑, ∫, π, ≤) and simple rules: a/b is a fraction, x^2 or x² a power, x_1 an index, and brackets around a numerator or a superscript are removed when the equation is built up. It reads naturally in a message, and Office equations turn it into a typeset equation.
Can I define my own commands?
Yes, inside the equation: \newcommand{\vv}[1]{\mathbf{#1}} \vv{x} + \vv{y} draws 𝐱 + 𝐲. A few short names such as \R (ℝ) are already defined; pick another name for your own. Definitions apply to that equation only, and a definition that keeps expanding into itself is stopped with an error.
Is my equation uploaded anywhere?
No. The LaTeX is drawn by Temml, an open-source TeX-to-MathML library that runs in your browser, and the PNG and SVG files are made in the browser too. The equations you copy are kept in this browser’s storage under Recent equations until you clear the list.