Offline OCR: 7 free readers tested, network off
4 of 7
ran on first use, network blocked
The other 3 needed one online run.
Cloud, not offline: Markdown at $0.006 a scanned page
It runs on Apify's servers: files leave your computer.
What ran offline, what to copy
| Reader | Offline on first use | Download first | Folder to copy | Words |
|---|---|---|---|---|
| Tesseract 5.5.4 | Yes, English only | None | None | 392 |
| OCRmyPDF 17.13.0 | Yes | None | None | 381 |
| Apple Vision, macOS | Yes | None | None | 398 |
| RapidOCR 3.10.0 | Yes | None | None | 395 |
| EasyOCR 1.7.2 | No | 98.3 MB, GitHub | ~/.EasyOCR/model |
337 |
| PaddleOCR 3.7.0 | No | 139.1 MB, Hugging Face, 3 extra models off |
~/.paddlex/official_models
|
398 |
| docTR 1.1.0 | No | 129.1 MB, mindee.com, then GitHub | ~/.cache/doctr/models |
389 |
For the 3 that download, each offline rerun gave the same text as the online run, byte for byte.
Copy the model folder, then go offline
- Online, install the reader and read one page. That run downloads the models.
- Copy the folder from the table to the same place on the offline computer.
- Run it as usual. None of the 3 needed an offline setting.
Our fact check copied only that folder to a new home on the same Mac: docTR and PaddleOCR gave the same text offline.
To keep it elsewhere, set the parent of model,
official_models or models. Each loaded
offline from a moved folder:
export EASYOCR_MODULE_PATH=/models/EasyOCR
export PADDLE_PDX_CACHE_HOME=/models/paddlex
export DOCTR_CACHE_DIR=/models/doctr
PaddleOCR: I turned off its 3 extra models (about 44 MiB). With its defaults, copy those too, or run it like this:
PaddleOCR(use_doc_orientation_classify=False,
use_doc_unwarping=False,
use_textline_orientation=False)
Four ran on first use, within limits
Tesseract: Homebrew ships only English and osd. Ask for German, and it stops:
Failed loading language 'deu'
Tesseract couldn't load any languages!
-
Add languages while online:
brew install tesseract-lang, or a.traineddatafile in$(brew --prefix)/share/tessdata. - OCRmyPDF runs on that Tesseract. No file in its package imports a network library.
- Apple Vision ran all 30 of its accurate-mode languages with the network blocked.
- RapidOCR carries its 3 default models in the wheel, 31.7 MB. Other models download from www.modelscope.cn into the venv: the medium ones tried to here, and its source lists other languages too.
No models, no network: the exact errors
EasyOCR and docTR end on the same error:
urllib.error.URLError: <urlopen error [Errno 1] Operation not permitted>
The part in brackets comes from the sandbox. On a computer with no network, it names a failed name lookup.
PaddleOCR checks 4 model hosts, then stops:
Exception: No available model hosting platforms detected. Please check your network connection.
-
PADDLE_PDX_DISABLE_MODEL_SOURCE_CHECK=Trueskips the check. It only changes which error you get: "No model source is available!" -
EasyOCR's
download_enabled=Falsedoes the same: a FileNotFoundError that ends "downloads disabled".
Two quirks for a strict offline setup
-
onnxruntime, under RapidOCR, wrote a device ID and
an event queue to
~/Library/Application Support/Microsoft/DeveloperTools/.onnxruntime/, online or offline. -
With
ORT_DISABLE_TELEMETRY=1it wrote nothing, and the text was the same. I did not capture traffic, so I cannot say if it uploads. - docTR retries a failed https model download over plain http, then checks only the first 8 hex digits of the SHA-256.
Local AI models: not tested offline here
Vision language models also read pages on your own computer. This test did not cover them. These pages test them on scans:
- Ollama OCR, tested on a real scanned PDF
- OCR in LM Studio: 6 models on 10 scanned pages
- MLX OCR: 6 models on 10 scanned pages
- VLM OCR: what vision models write on a blank page
I did not run Surya: its model license bars use by anyone who sells a product that competes with its maker, and we sell OCR. On Nov 12 its models were 1,387 MB from Hugging Face.
What I did not test
- A real unplugged computer. The sandbox refused each connection at once; on a network that drops packets, a reader can wait for its timeout.
- macOS services that download for an app run outside the sandbox, so Apple Vision's result is for this Mac's macOS 26.6 as installed.
- A second computer. Every offline run, copies included, was on the same Mac.
- Windows, Linux and the GPU: one Mac, Apple silicon, CPU only.
- Other languages, and PaddleOCR's default models with the network off.
How I tested it
- The pages: 2 proofread Wikisource book pages as 1920 px JPEGs, 399 true words. OCRmyPDF read them as a 2-page PDF.
-
Network off:
sandbox-execwith the profile below. curl failed at once with exit 7; outside the sandbox it got HTTP 200. - Each Python reader 3 times: offline with an empty cache, online with an empty cache, then offline from that cache. The other 3 ran once, offline.
- Each Python reader in its own venv, 1 thread, on the CPU. Each empty-cache run got a new home folder.
- Score: true words found in order, page by page. Punctuation counts. Without it, Tesseract and Apple Vision found all 399.
- Other jobs kept the Mac busy, so I left out the seconds.
- Versions: Tesseract 5.5.4, OCRmyPDF 17.13.0, RapidOCR 3.10.0 with onnxruntime 1.31.1, EasyOCR 1.7.2, PaddleOCR 3.7.0 with paddlex 3.7.2, docTR 1.1.0, torch 2.15.0.
- Scripts and results stay in our private repo, in research/bench/offline-ocr-2026-11-24/.
(version 1)
(allow default)
(deny network*)
(allow network* (remote unix-socket))
Sources
- Homebrew tesseract formula: eng and osd only
- Apple: VNRecognizeTextRequest
- EasyOCR README: models in ~/.EasyOCR/model
- PaddleX cache folder, PaddleOCR's model loader
- docTR README
- Surya README: the model license
- We make the Apify Actor, and none of the other tools here.
Questions people ask
Is there free OCR software that works offline?
Yes. With the network blocked, Tesseract, OCRmyPDF, Apple Vision on a Mac and RapidOCR read 2 book pages on first use: 381 to 398 of 399 words. Homebrew's Tesseract has only English until you add languages.
Which local OCR models need the internet first?
EasyOCR, PaddleOCR and docTR download their models on first use: 98.3, 139.1 (with its 3 extra models off) and 129.1 MB. After that one online run, each ran with the network blocked and gave the same text, with no setting.
How do I run PaddleOCR offline?
Run it once online, then copy ~/.paddlex/official_models to the offline computer. With the models there, it needed no setting. PADDLE_PDX_DISABLE_MODEL_SOURCE_CHECK only changed the error when they were missing.
Does EasyOCR work offline?
Yes, once ~/.EasyOCR/model holds craft_mlt_25k.pth and english_g2.pth, 98.3 MB from GitHub. Without them it fails with a urllib error, and download_enabled=False only changes that error.
Files can leave your computer? Two ways
Run it yourself. Our Apify Actor turns scanned PDFs and images into Markdown, in the cloud.
Or send us the scan. Tack, our AI, does the job for $29, up to 50 pages. First page free.