OCRRouter

Mathpix Convert vs Amazon Textract

Pick Mathpix Convert for math-heavy papers and textbooks, where you need LaTeX, Markdown or DOCX from whole PDFs. Pick Amazon Textract for English forms and invoices on AWS, or large scanned PDF batches, where you want JSON with tables, forms and bounding boxes. The main split is output: Mathpix writes documents for STEM content, Textract returns structured data for business documents.

Mathpix Convertmathpix/convertAmazon Textractaws/textract
TypeOCR APIOCR API
Price7 credits / page25 credits / page
Per 1,000 pages$7.00$25.00
Typical speed1.5 s / page1.2 s / page
Best forMath and scientific papersForms and key-value extraction
InputsPDF, imagesPDF, images
Languages30+ languages6 languages
Max pages per request5003,000
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
FormsNo✓ Yes
MultilingualNoNo
On OCRRouterAvailableAvailable

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

Which to choose

Choose Mathpix Convert if

  • It turns math, tables and chemistry into LaTeX and Markdown, so it fits papers and textbooks.
  • It exports whole PDFs directly to DOCX or LaTeX, and it handles handwritten equations.
  • It gives you HTML, DOCX and Markdown output without post-processing.

Choose Amazon Textract if

  • It extracts tables, forms and queries from English forms and invoices, with word and line geometry and confidence scores.
  • Plain text detection costs $0.0015 per page, which is $1.50 per 1,000 pages, against $0.005 per page for Mathpix PDFs.
  • The async API takes PDFs up to 500 MB and 3,000 pages, which suits large scanned batches on AWS.

Key differences

Mathpix ConvertAmazon Textract
Built forSTEM content: math, tables and chemistryBusiness documents: forms, invoices, tables, queries and layout
Output formatsLaTeX, Markdown, DOCX, HTML, JSONJSON, plain text, bounding boxes
PricePDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key feeUS West (Oregon), first 1M pages/month: text $0.0015, Tables $0.015, Forms $0.05, Queries $0.015 per page
Licence and deploymentProprietary, hosted APIProprietary, hosted API on AWS
Language supportNot publishedText detection: English, French, German, Italian, Portuguese, Spanish. Handwriting and Queries: English only
BenchmarkNo published accuracy benchmark on general OCR leaderboards80.9% on RD-TableBench table accuracy (independent)
Known limitsImages with more than 12 text rows may be billed at the PDF page rate; billed monthly in arrearsSync API takes one page; vertical Japanese and Chinese text not supported

Sources

What each one is

Mathpix Convert

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

Mathpix Convert details

Amazon Textract

AWS OCR with form key-value pairs, tables and per-word confidence scores.

Amazon Textract details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "mathpix/convert","fallbacks": ["aws/textract"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mathpix Convert alternativesAmazon Textract alternativesBest OCR models in 2026