Account

What new tool do you want?

Text & Writing

LaTeX Equation to Image (PNG & SVG)

Type a LaTeX equation and download it as a sharp SVG or a 150–600 dpi PNG with a transparent background, ready for Word, PowerPoint, Google Slides or the web. Live preview, AMS environments and chemistry formulas.

How to use

  1. 1Type or paste a LaTeX equation (no $ signs needed), or pick an example.
  2. 2Choose the font size, colour and display or inline mode; the preview updates as you type.
  3. 3Download an SVG for slides and documents, or a PNG at the resolution you need.

Frequently asked questions

SVG or PNG?

SVG whenever the program accepts it (Word, PowerPoint, Keynote, Google Slides, Figma, web pages): it stays sharp at any zoom and the file is tiny. Use PNG for programs that only take bitmaps, and pick 300 dpi for print or 600 dpi for posters.

Which LaTeX is supported?

Everything MathJax supports: fractions, roots, sums, integrals, Greek letters, matrices, aligned and cases environments from amsmath, bold symbols, colour, cancel, braket notation and chemistry with \ce{…} (mhchem).

What's the difference between display and inline?

Display mode is for equations on their own line: limits sit above and below sums and integrals, and fractions are full size. Inline mode is the compact form used inside a sentence.

Is my equation sent anywhere?

No. MathJax runs in your browser; the image is drawn on your device.

Sources

Worked example: the quadratic formula

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} at 12 pt renders as an SVG of about 147 × 37 pixels at screen size and under 7 KB. The 300 dpi PNG of the same equation is 484 × 142 pixels, which includes a little transparent padding so the equation doesn't touch the edge of a slide. At 600 dpi it doubles to 968 × 284 pixels, enough to print sharply on a poster.

Match the size to your document

Choose the font size of the text the equation will sit next to: 11–12 pt for a report, 18–24 pt for slides. The equation is then drawn at that size, so it lines up with your body text without resizing. If you resize an image in Word or PowerPoint afterwards, drag a corner to keep the proportions.

Errors are reported, not drawn

A missing brace or a misspelt command (\farc instead of \frac) shows MathJax's error message, such as 'Missing close brace' or 'Undefined control sequence \farc', instead of an image with red text in it. For safety, commands that add links or styles to the output (\href, \class, \style) and \require are switched off.

Related tools

More: Text & Writing