Convert images to LaTeX, DOCX, and much more

Mathpix’s homegrown OCR technology is unrivaled when it comes to image to LaTeX conversion. We convert your printed or handwritten equations to a digital form, instantly.

Works on images containing math, text, tables, and chemistry
Advanced math support, including handwritten math
Supports 30+ languages

The most advanced OCR tool for STEM

Mathpix is the only image to LaTeX converter with high-accuracy OCR features developed specifically for scientific documents like research papers, including document conversion options.

Math

Handwritten Equation

Text

Handwritten Text

Tables

Handwritten Table

Chemistry

Handwritten Chemistry

Conversion options

Image to LaTeX

Quickly convert images of math, text, and tables to LaTeX with Mathpix Snip.

Image to LaTeX.

Image to MS Word

Mathpix's image to DOCX converter supports converting printed and handwritten math, text, tables, and chemistry.

Image to DOCX.

Image to AsciiMath

Extract readable AsciiMath code from a picture just by taking a screenshot.

Image to AsciiMath.

Image to SMILES

Convert printed and handwritten chemistry to canonical SMILES code.

Image to SMILES.

Image to HTML

Convert images and PDFs to HTML, with live editing of the output in your browser.

Image to HTML.

Image to TSV/CSV

Extract TSV data from images or PDFs. Includes support for handwritten tables!

Table to TSV.

Table images to Markdown

The easiest way to get Markdown style table markup from a PDF or from your handwritten notes.

Image to Markdown.

Advanced global language support

Mathpix tools supports all major languages and alphabets, including English, Chinese, Hindi, Russian, French, Spanish, and many others. Advanced handwriting recognition support is currently provided for Latin and Hindi alphabets only.

Language support.

Compatible with your favorite editors

No matter how or where you edit your documents, Mathpix fits seamlessly into your workflow.

  • Convert images in Snip

    Use our simple online editor to create scientific documents. Any Snips you have taken with the mobile or desktop apps can be pasted into your document by selecting them from your Snips sidebar.

    Get Started
  • Convert images to MS Word

    The best Image to Word (.docx) converter for math, chemistry, physics, and other STEM materials.

    Get Started
  • Convert images to MS Excel

    Forget about manually re-typing tabular data! Convert images with tables to TSV just by taking a screenshot and paste it to Excel.

    Get Started
  • Convert images to ChemDraw

    No need to draw a chemical structure by yourself! Easily convert images to ChemDraw with Mathpix Snip. Our image to structure conversion is perfect for using high quality images in your scientific publications.

    Get Started
  • Convert images to Overleaf

    Extract LaTeX from images and paste it to your Overleaf document.

    Get Started
  • Convert images to Notion

    Equations can be inserted into Notion easily using LaTeX with Notion’s inline equation or LaTeX “blocks”. Learn more here.

    Get Started

How to convert images to Word, LaTeX, SMILES, and more

A diagram showing image conversion type outputs

1. Take a screenshot of your image.

2. Mathpix auto-converts it to LaTeX, MathML, AsciiMath, and other formats.

3. Choose the format you need, then copy-paste it to your workspace.

Get Started

FOR STUDENTS

Snip

Instantly digitize printed and handwritten math and science notes and paste it to Snip web app.

Snip an equation on your screen and convert it to LaTeX instantly.
Snip an equation on your screen and convert it to LaTeX instantly.

FOR EDTECH COMPANIES

Mathpix OCR

Mathpix provides image recognition for the biggest Edtech companies in the world.

Our image processing APIs are easy to implement and works on all platforms.

API request

{ "src": "https://cdn.mathpix.com/snip/images/jNcvUQZN5ZqdBYIzXXnRrMK3qfRj5VJk38p4gMfduA8.original.fullsize.png", "formats": ["text", "data", "html"], "data_options": { "include_latex": true } }
Example image

API response:

{ "request_id": "2022_04_13_da07bb1d9a35d12f2a1cg", "is_printed": false, "is_handwritten": true, "auto_rotate_confidence": 0.00009237866400724215, "auto_rotate_degrees": 0, "confidence": 0.9878137038322166, "confidence_rate": 0.9878137038322166, "text": "\\( -\\ln \\left(1-\\left(1-p^{-1}\\right)^{\\mu}\\right)-\\frac{\\ln p \\cdot \\mu\\left(1-p^{-1}\\right)^{\\mu-1} p^{-1}}{1-\\left(1-p^{-1}\\right)^{\\mu}} \\geq 0 \\)", "html": "
\n-\\ln \\left(1-\\left(1-p^{-1}\\right)^{\\mu}\\right)-\\frac{\\ln p \\cdot \\mu\\left(1-p^{-1}\\right)^{\\mu-1} p^{-1}}{1-\\left(1-p^{-1}\\right)^{\\mu}} \\geq 0
\n", "data": [ { "type": "latex", "value": "-\\ln \\left(1-\\left(1-p^{-1}\\right)^{\\mu}\\right)-\\frac{\\ln p \\cdot \\mu\\left(1-p^{-1}\\right)^{\\mu-1} p^{-1}}{1-\\left(1-p^{-1}\\right)^{\\mu}} \\geq 0" } ] }
Rendered result

Our partners choose Mathpix over AWS Textract, Google Vision API, and Azure Computer Vision for converting images to LaTeX.

Read Image Conversion related posts on our blog

2022-05-24

The best OCR for Cyrillic alphabet texts with math and science

Convert Cyrillic text and math with our simple OCR-powered tool. Just take a screenshot of an image and instantly get your editable result. You can also upload PDFs in Russian, Ukrainian, Bulgarian, Serbian, and convert them to LaTeX, Markdown, HTML, Overleaf, and more.

Read more

2022-03-29

OCR-powered LaTeX Table Generator

Converting tabular data has never been so easy! Just take a screenshot of your table and instantly get it in LaTeX tabular format...

Read more

2021-09-20

Convert printed and handwritten chemical diagrams to SMILES

Take a photo of your chemistry notes through the Snip mobile app, sync to desktop, then paste the SMILES into apps like ChemDraw. Search for chemical diagrams.

Read more