Skip to content
Toolspike

Image to LaTeX

Extract LaTeX from a photograph or screenshot of a printed or handwritten equation, with an editable result and a rendered preview to check it against.

Uploads your file to be processed online

Free trial: 1 run of Image to LaTeX every day. After that, 2 credits per run. Each page or image counts as one run.

Read an equation from a photograph and get LaTeX back

Photograph or screenshot an equation and get LaTeX you can edit, with a rendered preview to check it against the original. Recognition runs on an external provider, so the image is transmitted — that is stated before you submit and requires an explicit action. The result is editable, because checking it against your source is part of the job.

What Image to LaTeX gives you

Editable result

The recognised LaTeX lands in a text box you can correct, not a read-only block.

Rendered preview

The LaTeX is typeset as you edit, so you can compare it with the original image directly.

Printed or handwritten

Works from textbook screenshots as well as photographs of handwritten working.

Honest about confidence

Where the provider reports no confidence figure, the page says so rather than inventing a percentage.

Copy or download

Take the LaTeX to the clipboard or download it as a .tex file.

How to use Image to LaTeX

  1. Add an image

    A PNG, JPEG or WebP of the equation, up to 10 MB.

  2. Recognise

    The image is sent to the provider and the LaTeX comes back.

  3. Check the preview

    Compare the typeset result against your original.

  4. Correct and copy

    Fix anything misread, then take the LaTeX.

Other names for this tool

People also look for this as equation OCR, math OCR, photo to LaTeX, screenshot to LaTeX and convert image to equation. It is the same tool on this page.

Looking for the opposite job? LaTeX to Image.

Limitations

  • Requires a configured OCR provider credential.
  • Recognition accuracy has not been independently measured.

Questions about Image to LaTeX

Is my image uploaded?

Yes. Recognition runs on a third-party provider, so the image is transmitted. This is stated before you submit and requires an explicit action.

How accurate is it?

Accuracy varies with handwriting and image quality. Always check the rendered preview against your source; the result is editable.

How do I convert a photo of an equation into LaTeX?

Add a PNG, JPEG or WebP of the equation and run the recognition. The LaTeX comes back in an editable box with a typeset preview beside it, so you can correct anything misread before copying it.

How do I get the most accurate reading?

Crop tightly to the equation and photograph it straight on in even light. Surrounding prose and page furniture give the reader irrelevant material, and a skewed or shadowed image costs far more accuracy than untidy handwriting does.

Does it work on handwritten maths?

Yes, as well as on printed equations and textbook screenshots. Handwriting is harder than print, which is why the result is editable and shown next to a preview rather than presented as final.

What if the page has several equations on it?

Every expression is transcribed in reading order. For a whole document of maths, Math Document to Word handles multipage PDFs; for a batch of separate equation images, use Equation to Word.