01
How to convert LaTeX to PNG
- Type or paste the LaTeX for your equation. Leave out the dollar signs: write
E = mc^2, not$E = mc^2$. - The preview updates as you type; errors are shown under it.
- Set the text size, colour and background.
- Pick the PNG resolution and press PNG, or download the SVG for a vector version.
02
LaTeX examples to copy
| Equation | LaTeX |
|---|---|
| Quadratic formula | x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} |
| Normal distribution | f(x) = \frac{1}{\sigma\sqrt{2\pi}}\, e^{-\frac{(x-\mu)^2}{2\sigma^2}} |
| Michaelis–Menten | v = \frac{V_{\max}[S]}{K_m + [S]} |
| Sum | \sum_{i=1}^{n} i = \frac{n(n+1)}{2} |
| Matrix | A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} |
| Chemical equilibrium | K_c = \frac{[C]^c[D]^d}{[A]^a[B]^b} |
Each one is a button above the editor.
03
LaTeX the converter understands
| You want | Write | Example |
|---|---|---|
| Superscript, subscript | ^ and _ | x^2, a_{ij} |
| Fraction | \frac{top}{bottom} | \frac{1}{2} |
| Square root | \sqrt{…} | \sqrt{x^2 + 1} |
| Greek letters | \alpha, \beta, \mu, \sigma | \mu \pm \sigma |
| Sum, integral | \sum_{…}^{…}, \int_{…}^{…} | \int_0^1 f(t)\,dt |
| Matrix | \begin{pmatrix} … \end{pmatrix} | a & b \\ c & d |
| Several aligned lines | \begin{aligned} … \end{aligned} | a &= b \\ c &= d |
| Text inside maths | \text{…} | v \text{ in m/s} |
04
Which resolution to choose
The PNG is rendered larger for higher resolutions, so it stays sharp in print. At the same text size, a 300 dpi PNG has about three times as many pixels across as the 96 dpi one, and a 600 dpi PNG about six times.
| Use | Choose |
|---|---|
| Web page, chat, screen-only slide | 96 dpi, or SVG |
| Paper figure, poster, printed handout | 300 or 600 dpi, or SVG |
| Anything you will resize later | SVG |
Check a finished figure with the image DPI checker.
05
Transparent or white background
A transparent PNG lets the slide or poster colour show through, which is what you want on a coloured background. Choose white when the image will sit somewhere that shows transparency as black or as a checkerboard. The checkerboard in the preview only marks the transparent area; it is not in the file.
06
PNG, SVG or JPG?
PNG is a grid of pixels and works everywhere. SVG is a vector drawing: it has no resolution, stays sharp at any size and is usually a smaller file. Use SVG where it is accepted, and PNG where it is not. JPG is there for places that take nothing else; it has no transparency, so it always has a white background. All three use the colour you picked.
07
Fixing LaTeX errors
| Message or symptom | Usual cause |
|---|---|
| Missing close brace | A { without its }, often after \frac or ^ |
| Undefined control sequence | A misspelt command, or one from a package that is not maths |
| Misplaced & | & used outside a matrix or aligned block |
| Dollar signs appear in the output | Remove the $ … $ around the equation |
08
Nothing is uploaded
The equation is typeset by MathJax inside your browser tab and the image is made there too. Your LaTeX is not sent to Sciloom. The last equation you typed is kept in this browser so it is there when you come back. For whole figures, see the Sciloom Studio.
Trust
How this page is checked
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). LaTeX to PNG converter. Zebra Nine Studio Inc. https://sciloom.si/latex-to-png
Frequently asked questions
How do I convert LaTeX to PNG?
Type the LaTeX in the box above, choose size, colour, background and resolution, and press PNG. The image downloads at once.
Can I get a transparent background?
Yes. Transparent is the default; switch to white if the place you paste it shows transparency as black.
Can I download SVG instead of PNG?
Yes. Press SVG to download a vector file, or Copy SVG to paste the code.
Is this LaTeX to PNG converter free?
Yes, with no sign-up. It runs in your browser and nothing is uploaded.