OCRRouter

OCRmyPDF vs RapidOCR

Pick OCRmyPDF when the job is turning scanned PDFs into searchable PDF/A archives on CPU. Pick RapidOCR when you need text and bounding boxes from images, such as Chinese or English screenshots and receipts, inside a Python, C++, Java or C# app. The main split is output: OCRmyPDF returns a searchable PDF, RapidOCR returns plain text and boxes.

OCRmyPDFocrmypdf/ocrmypdfRapidOCRrapidai/rapidocr
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.0 s / page0.6 s / page
Best forSearchable PDFs from scansLightweight OCR on CPU or edge
InputsPDF, imagesimages
Languages100+ languages (via Tesseract)Chinese, English and more
Max pages per request1,000100
TablesNoNo
HandwritingNoNo
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

  • It produces validated searchable PDF/A by default, which suits archiving and compliance workflows.
  • It inserts the OCR layer losslessly where possible, without re-encoding other content in the PDF.
  • It uses Tesseract, so it covers 100+ languages through language packs.

Choose RapidOCR if

  • It has bindings for Python, C++, Java and C#, so it embeds in many stacks, including Java and C# apps.
  • It runs PaddleOCR models through ONNX Runtime with no Paddle framework, and can switch to TensorRT, OpenVINO or MNN engines.
  • It suits offline CPU OCR of Chinese and English screenshots and receipts, and Docling supports it as an OCR backend.

Key differences

OCRmyPDFRapidOCR
LicenceMPL-2.0Apache-2.0 (converted models keep their upstream licenses)
OutputSearchable PDF (PDF/A by default) and plain textPlain text and bounding boxes
How you run itCommand-line tool that runs locallyLibrary for Python, C++, Java or C#, runs locally
HardwareCPU only, spread across all CPU coresCPU via ONNX Runtime by default; optional GPU, TensorRT, OpenVINO, MNN, Paddle or PyTorch engines
Languages100+ through Tesseract language packsChinese and English by default; other languages need extra models
Layout, tables, MarkdownNone; accuracy is capped by TesseractNone
Known failureFile size can double or quadruple with --deskew --clean-final (issue #948); --skip-text with default PDF/A output removes form fields (issue #1790)16-bit grayscale PNG or TIFF give no text or wrong text (issue #776); Arabic recognition crashes (issue #719)

Sources

What each one is

OCRmyPDF

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

OCRmyPDF details

RapidOCR

PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.

RapidOCR 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": ["rapidai/rapidocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

OCRmyPDF alternativesRapidOCR alternativesBest OCR models in 2026