PDF → LaTeX Converter
Convert any PDF to clean LaTeX. 100% client-side — nothing is uploaded.
How It Works
Upload your PDF
Drop or browse for any text-based PDF. Research papers, theses, reports, and textbooks all work.
Automatic parsing
PDF.js extracts text, fonts, and positions. The converter detects structure, math, columns, and figures.
Download LaTeX
Get clean .tex source with proper \section, \subsection, inline/display math, and extracted figures.
Features
Frequently Asked Questions
How does the PDF to LaTeX converter work?
The converter uses PDF.js to parse your PDF entirely in the browser. It detects headings, paragraphs, inline and display math, lists, code blocks, figures, and two-column layouts, then reconstructs them as clean LaTeX source code.
Is my PDF uploaded to a server?
No. Everything runs 100% client-side in your browser using JavaScript. Your PDF never leaves your computer.
Does it work with scanned PDFs?
Not directly. This tool works with text-based (digitally created) PDFs. For scanned PDFs, run OCR first using a tool like ocrmypdf, then upload the result.
Can it handle math equations?
Yes. The converter detects both inline and display math, including Greek letters, mathematical symbols, superscripts, subscripts, and equation numbering.
Does it extract figures from the PDF?
Yes. The converter automatically detects and extracts figure regions from each page, saving them as PNG images. You can download everything bundled in a ZIP.
What output formats are available?
You can copy the LaTeX source, download it as a .tex file, or download a .zip archive containing the .tex file and all extracted figure PNGs.