OCRRouter

OCRmyPDF vs Google Cloud Vision OCR

Pick OCRmyPDF to make scanned PDF archives searchable and keep them as PDF/A, on your own CPUs. Pick Google Cloud Vision OCR when you need text with word-level bounding boxes from photos, handwriting or high-volume plain extraction through an API. Neither gives you tables or Markdown.

OCRmyPDFocrmypdf/ocrmypdfGoogle Cloud Vision OCRgoogle/cloud-vision
TypeOpen sourceOCR API
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page1.0 s / page
Best forSearchable PDFs from scansPhotos and simple scans
InputsPDF, imagesPDF, images
Languages100+ languages (via Tesseract)100+ languages
Max pages per request1,0002,000
TablesNoNo
HandwritingNo✓ Yes
MathNoNo
Bounding boxesNo✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
Multilingual✓ Yes✓ Yes
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 validated searchable PDF/A output for archiving or compliance workflows.
  • You want to run it locally on CPU only, with no per-page fee beyond your own compute.
  • You process office scanner batches and want the OCR layer added without re-encoding the rest of the PDF, spread across all CPU cores.

Choose Google Cloud Vision OCR if

  • You need handwritten notes or photos of signs and labels read, using DOCUMENT_TEXT_DETECTION and language hints.
  • You want JSON with a page, block, paragraph, word and symbol hierarchy and bounding polygons.
  • You run high volume and want per-page pricing that falls to $0.60 per 1,000 pages above 5M units, after 1,000 free units a month.

Key differences

OCRmyPDFGoogle Cloud Vision OCR
How you run itCommand-line tool that runs locallyHosted API on Google Cloud, called over REST or client libraries
LicenceMPL-2.0, open sourceProprietary
PriceFree, self-hosted; you pay for computeFirst 1,000 units per month free per feature, then $1.50 per 1,000 units up to 5M, $0.60 per 1,000 above. One PDF page is one unit.
Output formatsSearchable PDF (PDF/A by default) and plain textJSON, plain text and bounding boxes
HandwritingNot suited to handwritingSupported via DOCUMENT_TEXT_DETECTION and language hints
Tables and layoutNo layout, table or Markdown outputNo table or layout structure; Google points to Document AI. No Markdown, so you rebuild reading order yourself
Known failure or limit--skip-text with default PDF/A output removes form fields (issue #1790); --deskew --clean-final can double or quadruple file size (issue #948); hangs on PDFs whose forms share one Resources dictionary (issue #1763)PDF and TIFF need async processing via Cloud Storage; billing must be enabled even for the free units

Sources

What each one is

OCRmyPDF

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

OCRmyPDF details

Google Cloud Vision OCR

Google Cloud's image OCR with text and document text detection, word boxes and confidence.

Google Cloud Vision OCR 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": ["google/cloud-vision"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

OCRmyPDF alternativesGoogle Cloud Vision OCR alternativesBest OCR models in 2026