Image to LaTeX

Drop a photo or screenshot of a formula and get its LaTeX code. Paste it into Overleaf, a paper or your notes instead of typing every fraction by hand.

Drag & drop a file here, or

JPG PNG WebP Max 8MB • Processed on server • Not stored

Processed on our server

Printed or Handwritten

Textbook pages, slides, screenshots and neat handwriting. Fractions, roots, sums, integrals and matrices come out as real LaTeX commands.

Ready to Paste

Plain LaTeX source with no outer dollar signs, so it drops into any math environment. Edit it here before you copy it.

Not Stored

The image is re-encoded without its metadata, read once by the model and not kept. No account, no history.

Advertisement

How it works

Formulas without retyping

Typing a long formula into LaTeX means hunting for every command: frac, sqrt, sum limits, subscripts inside superscripts. Here a model trained to read math looks at the picture and writes the source for you, so you only fix what it got wrong.

Photos, screenshots and scans

A screenshot from a PDF or slide gives the cleanest result. A phone photo of a textbook or a whiteboard works too when the formula is sharp and fills most of the frame. Cropping away the text around it helps more than anything else.

Code you can edit before you copy

The LaTeX lands in an editable box. Outer dollar signs are removed so the code fits any math environment, and line breaks are kept for multi-line align blocks. Copy it in one click or save it as a .tex file.

Free, with no sign-up

Many formula converters give a few tries and then ask for a plan. This one has no account and no paid tier. The image is not stored, and the metadata in it is stripped before it leaves the page.

Frequently Asked Questions

How do I convert an image of an equation to LaTeX?

Upload a photo or screenshot of the formula. The image is read by an OCR model trained on math, and its LaTeX code appears in a box you can edit, copy or download as a .tex file.

Does it read handwritten math?

Neat handwriting usually works. Messy writing, crossed-out parts and symbols that touch each other are where it goes wrong, so compare the code with your page before you use it.

Do I need to add dollar signs?

Yes. The code comes without outer delimiters, so you can put it inside $$ … $$, \[ … \], or an equation or align environment, whichever your document uses.

Can it read a whole page of text and formulas?

It is built for one formula or a short block at a time. Crop the image to the formula you need for the best result. For ordinary text, use the Text Scanner.

Is my image stored?

No. The image is re-encoded without its metadata, sent once to the model, and not kept on our server. There is no account and no history.

Is it free?

Yes. There is no sign-up and no charge. A monthly limit keeps it free for everyone; if it is reached, try again on the 1st.

Scanly is an independent product. GLM-OCR is a third-party model we call through Replicate — an integration, not our brand. Scanly is not affiliated with, endorsed by or sponsored by Replicate or the model authors, and all model names and trademarks remain the property of their respective owners. AI Disclosure.