Is there a tool for exporting equation images to TeX? Probably something related to OCR. I have a lot of image-equations in a word document that I'd like to convert to TeX.

Note that the equations are actually images, so no word2tex-like apps would help.


Mathpix Snip: Scanner App for Math and Science


Mathpix Snip digitizes handwritten or printed text, and copies outputs to the clipboard that can be pasted into LaTeX editors like Overleaf, Markdown editors like Typora, Microsoft Word, and more.

Available for MacOS, Windows, Linux (Snap), iOS, and Android,


N.B.: Using this to copy equations from Wikipedia is 100% pointless, because you can also just select the equation with your mouse and press CtrlC, which will put the LaTeX source of that equation in your clipboard.

  • It's now available in Linux as a Snap, too – Jairo A. del Rio Mar 7 at 17:19
  • I would suggest to add to the answer the fact that it is a paid app (there is a free tier that lets you convert only 50 formulas/month). – Federico Poloni May 19 at 6:14

In addition to Infty, there's also FFES --- the Freehand Formula Entry System. Paper on it here: http://academia.edu/156023/Handwriting_Speech_for_Computer_Entry_of_Mathematics and it's available here: http://www.cs.rit.edu/~rlaz/ffes/


Scribble My Science: convert images or PDF to LaTex


You can upload directly in your web browser images or PDF files. OCR technologies are used to recognize the formulas or text and to generate the LaTeX code.


For an open source solution, based on the algorithm introduced in {1}:


  • {1} Deng, Yuntian, Anssi Kanervisto, Jeffrey Ling, and Alexander M. Rush. "Image-to-markup generation with coarse-to-fine attention." In International Conference on Machine Learning, pp. 980-989. PMLR, 2017. http://proceedings.mlr.press/v70/deng17a/deng17a.pdf
  • Those are amazing but they're written with python 2.7 – Rainb May 23 at 7:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.