Convert PDF to LaTeX
Get the text and equations from a PDF with every formula as LaTeX. Good for papers, lecture notes and problem sets.
Result
Your Markdown or JSON shows up here.
3 free pages a day, no sign-up.
How it works
- Step 1Upload the PDF
- Step 2We read text, tables and equations
- Step 3Copy the Markdown with LaTeX maths
Why use this PDF to LaTeX converter
Every equation as LaTeX
Inline and display maths are recognised across the whole PDF, not one formula at a time.
Text around the maths
Section headings, paragraphs and tables come with it, so you keep the context.
Pandoc-friendly
The Markdown uses standard $ and $$ delimiters, so pandoc -f markdown -t latex turns it into a LaTeX body.
What people use it for
- Recovering the LaTeX of your own old paper when the source is lost
- Turning scanned lecture notes into editable LaTeX
- Reusing equations from a published PDF in a thesis or slides
- Converting problem sets into a format you can edit and re-typeset
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 / page2Mistral OCRFast document OCR that returns clean Markdown with tables and embedded images.mistral/mistral-ocr6 credits / page3MarkerHosted version of the open-source Marker and Surya models. Strong on books and papers.datalab/marker14 credits / page4Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.google/gemini-flash3 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 textImage 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