Convert image to LaTeX
Upload a picture of an equation and get LaTeX you can paste into Overleaf, a paper or Markdown.
Result
Your Markdown or JSON shows up here.
3 free pages a day, no sign-up.
How it works
- Step 1Screenshot or photograph the equation
- Step 2Upload it
- Step 3Copy the LaTeX
Why use this Image to LaTeX converter
Real LaTeX, not images
Fractions, sums, integrals, matrices and Greek letters come back as LaTeX commands you can edit.
Text and maths together
A screenshot of a textbook paragraph with equations keeps the prose as text and the maths as LaTeX.
Mathpix available via API
For heavy maths, you can route to Mathpix through the same API and compare it with other models.
What people use it for
- Copying equations from a textbook or lecture slide into notes
- Turning handwritten derivations into LaTeX for homework or papers
- Getting formulas out of screenshots of papers without retyping
- Adding equations to Markdown notes in Obsidian or Notion
Models that do this well
The free tool picks one for you. With the API you choose, and can set fallbacks so a failed page is retried on the next model.
1Mathpix ConvertSpecialist for math, science papers and handwritten formulas. Outputs LaTeX.
mathpix/convert7 credits / page2Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.google/gemini-flash3 credits / page3GPTGeneral vision model. Good at messy scans and following extraction instructions.openai/gpt11 credits / page4Mistral OCRFast document OCR that returns clean Markdown with tables and embedded images.mistral/mistral-ocr6 credits / pageDo it with the API
Converting more than a few files? The same conversion is one request. Pick any model, or let auto choose.
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Questions
More free tools
PDF to MarkdownPDF to textImage to textHandwriting to textPDF to JSONJPG to textPNG to textPhoto to textPicture to textScreenshot to textGIF to textExtract text from imageCopy text from imageExtract text from PDFOCR PDFScanned PDF to textPDF to LaTeXImage to MarkdownImage to JSONImage to tablePDF to ExcelPDF to CSVImage to ExcelImage to WordPDF to Word (OCR)Make PDF searchablePDF to HTMLBank statement converterPDF to TXTPDF to Google DocsPDF to linkImage to linkVideo to linkMP3 to linkFile to link