OCRRouterGet API key

Mathpix Convert vs OCRmyPDF

OCRmyPDF is cheaper per page; OCRmyPDF is faster; only Mathpix Convert supports math, handwriting, tables, bounding boxes, confidence; only OCRmyPDF supports multilingual.

Mathpix Convertmathpix/convertOCRmyPDFocrmypdf/ocrmypdf
TypeOCR APIOpen source
Price7 credits / page1 credit / page
Per 1,000 pages$7.00$1.00
Typical speed1.5 s / page1.0 s / page
Best forMath and scientific papersSearchable PDFs from scans
InputsPDF, imagesPDF, images
Languages30+ languages100+ languages (via Tesseract)
Max pages per request5001,000
Tables✓ YesNo
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
MultilingualNo✓ Yes
On OCRRouterComing soonComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Mathpix Convert

Specialist for math, science papers and handwritten formulas. Outputs LaTeX.

Mathpix Convert details

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

OCRmyPDF details

Use one, fall back to the other

Request body
{
  "model": "mathpix/convert",
  "fallbacks": ["ocrmypdf/ocrmypdf"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Mathpix Convert alternativesOCRmyPDF alternatives