OCRRouter

OCRmyPDF vs Nougat

Pick OCRmyPDF to make scanned PDF archives searchable as PDF/A, including office scanner pipelines, and when you need a licence that allows commercial use. Pick Nougat to turn English scientific papers into Markdown with LaTeX math, but only for non-commercial work. The main split is the output: a text layer inside the same PDF versus Markdown and LaTeX.

OCRmyPDFocrmypdf/ocrmypdfNougatmeta/nougat
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page3.0 s / page
Best forSearchable PDFs from scansarXiv-style papers
InputsPDF, imagesPDF, images
Languages100+ languages (via Tesseract)Mainly English
Max pages per request1,000200
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxesNoNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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 OCRmyPDF if

  • You need searchable PDF/A output for archiving, and it is validated by default.
  • You need to cover 100+ languages through Tesseract language packs and run on CPU only.
  • You are building a commercial product, since the tool is licensed MPL-2.0.

Choose Nougat if

  • You are converting English arXiv-style papers and need equations and tables as LaTeX in Mathpix-style Markdown.
  • Your documents look like the arXiv and PubMed Central papers it was trained on.
  • Your use is non-commercial, so the CC-BY-NC weights are acceptable.

Key differences

OCRmyPDFNougat
LicenceMPL-2.0Code MIT; weights CC-BY-NC, so no commercial use
OutputSearchable PDF/A and plain textMarkdown (.mmd) and LaTeX
Layout, tables, mathAdds no layout, table or Markdown outputOutputs LaTeX for equations and tables
Languages100+ via Tesseract language packsWorks best on English; Chinese, Russian and Japanese do not work
HardwareCPU only, spread across all coresNot published
Known failureHangs on PDFs whose forms share one Resources dictionary (issue #1763); --skip-text with default PDF/A output removes form fields (issue #1790)Repetition loops on 1.5% of test pages, more on out-of-domain documents; looping pages can be dropped as MISSING_PAGE (issue #11)
BenchmarksNot publishedNot published

Sources

What each one is

OCRmyPDF

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

OCRmyPDF details

Nougat

Meta's model that converts academic PDFs to Markdown with LaTeX math.

Nougat 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": "ocrmypdf/ocrmypdf","fallbacks": ["meta/nougat"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

OCRmyPDF alternativesNougat alternativesBest OCR models in 2026