LaTeX to Image
Render a LaTeX expression and export it as a PNG or JPEG at a chosen font size, colour and background, with transparency support for PNG.
Runs in your browser — nothing is uploadedFree trial: 1 run of LaTeX to Image every day. After that, 2 credits per run.
Export a typeset equation as a PNG or JPEG
Turn a LaTeX expression into a picture you can drop into a slide, a document or a forum post that has no maths support. Set the font size, the colour and the background, and export a transparent PNG when the equation needs to sit on a coloured slide. Export is blocked while the expression has a syntax error, so you never get a picture of a broken formula.
What LaTeX to Image gives you
PNG or JPEG
PNG for sharp edges and optional transparency, JPEG when a smaller opaque file is wanted.
Transparent background
Export a PNG with no background so the equation sits on any slide colour without a white box around it.
Colour and size control
Set the glyph colour, the background and the font size so the image matches the document it is going into.
Fonts embedded in the export
The maths fonts are embedded when the image is produced, so glyphs are not substituted on another machine.
Blocks a broken export
An expression that will not parse cannot be exported, and an image too large to rasterise is reported with its measured size.
How to use LaTeX to Image
Enter your LaTeX
Up to 10,000 characters.
Choose the format
PNG for transparency and sharp edges, JPEG for a smaller file.
Set size and colours
Font size, glyph colour and background.
Export
Wait for the fonts to load, then download the image.
Other names for this tool
People also look for this as LaTeX to PNG, equation to image, math formula to picture, render LaTeX as image and export equation as PNG. It is the same tool on this page.
Looking for the opposite job? Image to LaTeX.
Limitations
- Export requires web fonts to have loaded; the button stays disabled until they have.
Questions about LaTeX to Image
Will fractions and matrices be clipped?
No. The renderer waits for fonts to load and measures the full bounding box, including ascenders and descenders, before exporting.
Can I export an invalid equation?
No. Export is blocked while the expression has a syntax error, so an error image cannot be saved as though it succeeded.
How do I put an equation into a slide or a forum post?
Export it as an image here. Most presentation software and publishing platforms cannot render LaTeX at all, so a PNG is the reliable way to get typeset maths into them.
How do I get an equation with no white box behind it?
Choose PNG and turn on transparency. The glyphs are then drawn with nothing behind them, so the equation sits on any slide colour. JPEG is always opaque, so it will show a rectangle whatever you do.
The exported image looks blurry when I enlarge it. What went wrong?
Nothing — a raster image cannot be scaled up cleanly. Raise the font size before exporting so the image is produced at the size you need, rather than stretching a small one afterwards.
Why does it say the equation is too large to rasterise?
There is a ceiling on how many pixels a browser canvas can hold, and a long expression at a large font size can exceed it. The exact measured dimensions are reported; reduce the font size or split the equation in two.
Why is the export button disabled?
Either the expression has a syntax error, in which case exporting is blocked so you never get a picture of a broken formula, or the maths fonts have not finished loading. Waiting a moment resolves the second case.
Can I edit the equation after exporting?
Not from the image, which is just pixels. Keep the LaTeX source. If you want something that stays editable in a document, use LaTeX to Word instead, which produces a real Word equation.