Convert PDF to LaTeX, DOCX, HTML, and Markdown

Mathpix Snip instantly converts scientific PDFs to editable and searchable formats like LaTeX, DOCX, HTML, and Markdown.

Our OCR team focuses exclusively on scientific documents, of all shapes and sizes. This allows us to achieve the highest recognition and conversion coverage for scientific PDFs in the world.

Advanced support includes math, tables, figures, 2-column PDFs, handwritten PDFs in English/French/Spanish, and printed PDFs in all major languages.

PDF conversion feature details
PDF conversion feature details

The PDF converter with the most advanced STEM support

PDF conversion feature details
PDF conversion features details small

PDF conversion optimized for scientific documents

Mathpix is the only PDF converter with high-accuracy OCR features developed specifically for scientific documents like research papers

PDF with an equation


Even PhD-level math, physics, and statistics.

PDF with a table


High-accuracy for tables containing math symbols and full equations.

PDF with 2 columns

2-column PDFs

Converts the 2-column formatting required by many major journals.

Convert PDFs to the filetype you need

No matter how or where you edit your documents, Mathpix fits seamlessly into your workflow. Getting information out of PDFs will never be a headache ever again.

  • Convert PDF to Word

    The best PDF to Word (.docx) converter for math, chemistry, physics, and other STEM materials. With Mathpix, you no longer need to be a LaTeX expert to edit scientific papers.

    Learn more
  • Convert PDF to LaTeX

    Convert PDFs to LaTeX (as a .zip) that can then be used with any LaTeX editor. You can even convert your PDF directly to Overleaf.

  • Convert PDF to HTML

    Convert PDFs to HTML to perfectly display your scientific content as a web page.

  • Convert PDF to Mathpix Markdown

    Convert PDFs to Mathpix Markdown, our LaTeX-enhanced flavor of Markdown optimized for STEM content. Learn more about Mathpix Markdown.

How to convert PDFs to Word, LaTeX, Markdown, and HTML on the web

  • Upload a PDF
  • PDF is being processed
  • Export your file in the needed format

1. Drag or upload your PDF into the Mathpix Snip web editor.

2. Mathpix auto-converts it to a new document editable in the app.

3. Choose your export format in the top right corner of the page.

Go to Snip

Our PDF conversion tools

Read your PDFs on any device

Use our PDF reader & viewer to interact with virtually any type of PDF file.

PDF reader
Learn more

Digitize and search PDFs

Digitize your research PDFs using OCR to create a searchable knowledge repository.

Search PDFs
Learn more

Copy text and math from source PDF

Copy any part of a PDF in your repository in different format like LaTeX and MathML.

Select and copy PDF parts
Learn more

Convert PDFs from your browser

We provide a Chrome extension, which allows to add and digitize PDFs from your browser.

Chrome Extension for PDF cloud
Learn more

Digitize PDFs, edit, and export with Snip

Use Snip to digitize all your PDFs and read them on any device. You can also create editable documents and export them to useful formats like LaTeX, DOCX, Markdown, and HTML.

PDF features in Snip
Go to Snip

Manage your PDF repository in your private cloud

Use all of the PDF processing features of Snip but with a self-hosted, fully contained solution.

OCR PDFs on your private cloud.
Learn more

Convert PDFs from the command line

Our MPX CLI command line tool converts PDF files on your local machine without needing to upload them online. You can also convert between file formats like LaTeX to Word.

npm install -g @mathpix/mpx-cli mpx login npm install -g @mathpix/mpx-cli export MATHPIX_OCR_API_KEY=... mpx set-api-key ... # This will save the key in a file at # ~/.mpx/config on Linux, macOS, or Unix # C:\Users\USERNAME\.mpx\config on Windows mpx convert input-file.pdf output-file.mmd mpx convert input-file.pdf output-file.docx mpx convert input-file.pdf output-file.tex mpx convert input-file.pdf output-file.html mpx convert input-file.mmd output-file.docx mpx convert input-file.mmd output-file.tex mpx convert input-file.mmd output-file.html mpx convert input-file.mmd output-file.pdf mpx convert input-file.mmd output-file.pdf --pdf-method html
Learn more

Bulk PDF conversion using our API

Use the easy-to-implement Mathpix OCR API to convert PDFs to alternative formats like LaTeX and DOCX. Our PDF API (v3/pdf) enables document conversion at scale.

curl -X POST -H 'app_id: APP_ID' -H 'app_key: APP_KEY' -H 'Content-Type: application/json' --data '{ "url": "" }' curl --location --request POST '' --header 'app_id: APP_ID' --header 'app_key: APP_KEY' --form 'file=@"cs229-notes5.pdf"' --form 'options_json="{\"math_inline_delimiters\": [\"$\", \"$\"]}"'
Learn more

Read PDF Conversion related posts on our blog


Mathpix PDF to LaTeX Converter

Use Mathpix's simple AI-powered PDF conversion tool to convert your PDF to LaTeX and export to Overleaf.

Read more


Mathpix PDF to Word Converter

Need to convert your PDF to Word? Converting PDFs has never been simpler than with Mathpix’s AI-powered PDF to Word conversion.

Read more


Convert whole PDFs to LaTeX, DOCX, Markdown; updated pricing

You can now process entire PDFs using Mathpix's OCR technology and get LaTeX, DOCX, Markdown, or HTML results via Snip or the API...

Read more