Hebrew OCR: 11 free engines, tested on a CPU.
You have Hebrew scans, PDFs or photos and want the text, without paying per page or sending documents to a cloud service. We ran 11 free OCR engines that work on your own machine, from Tesseract models to AI vision models, on five Hebrew test sets, and timed them on an ordinary CPU. Here is what each one is good at, how fast it is, and what its licence allows.
- Invoices, receipts, mixed lines
- paddleocr-hebrew: on lines that mix Hebrew with English words and numbers it had 3.1% character errors, against 12.8% for heb_rivok, the next lowest. Modern documents with English and numbers are where it fits.
- Old print, niqqud, scans
- heb_rivok 2.0: 2.6% errors on 1,087 lines from Hebrew books printed 1872–1922, vowelled text included, and under a second per page on a CPU.
- Already on Tesseract or OCRmyPDF
- heb_rivok as a drop-in file: copy it into Tesseract's folder and use
-l heb_rivok. Nothing else changes. - No install at all
- Our free Hebrew PDF to Word page runs heb_rivok in your browser; nothing is uploaded.
- You have a GPU and fit Surya's licence
- Surya: on GlotOCR's degraded "old document" images it had the lowest error of the 11 (23.0%); on our 9 pages, 1.5% (heb_rivok: 1.0%). It also runs on a CPU, but at about 48 s a page. Its code is Apache-2.0; its model weights are free for research, personal use, and companies with under $5M in both revenue and funding. Above either, you need a licence from Datalab (licences). If the licence doesn't fit you, heb_rivok is free for any use, commercial included (Apache-2.0): 24.5% on those degraded images, and lower than Surya on our 9 pages.
Full disclosure: we built heb_rivok and paddleocr-hebrew, and three of the five test sets. We know of no public set of real modern documents that mix Hebrew, English and numbers yet, so for invoices and receipts, try two engines on a few of your own pages.
What we found
On the outside benchmark
GlotOCR-bench, from the cis-lmu group at LMU Munich, is the only Hebrew OCR benchmark made by someone else that we know of. On its clean images, heb_rivok 2.0 had the lowest error of all 11 engines: 11.0% of characters wrong, against 11.6% for dots.ocr (run on a GPU), 18.7% for Surya and 20.7% for Google's tessdata_best Hebrew model.
Among engines with no strings attached
Eight of the engines are under plain Apache-2.0, free for commercial use with no extra use restrictions, and all eight run on a CPU. Among them, heb_rivok 2.0 had the lowest error on 4 of our 5 test sets. The fifth is the mixed lines: on lines that mix Hebrew, English and numbers, our paddleocr-hebrew leads with 3.1% against heb_rivok's 12.8%.
Against the model it was built from
heb_rivok 2.0 is a fine-tune of Google's tessdata_best script/Hebrew, the
largest Tesseract model for Hebrew. It makes about a third of that model's errors on old
books (7.8% → 2.6%) and on our 9 pages (3.0% → 1.0%), and about half on GlotOCR clean
(20.7% → 11.0%).
Speed
heb_rivok took 0.85 seconds per page on our CPU, a 4-core Xeon from 2016. The AI vision models took tens to hundreds of times longer on the same machine: Surya 48 seconds per page, Gemma 3 4B 64, Qwen3-VL 4B 114 and dots.ocr 215.
Where heb_rivok loses
On mixed lines, as above: paddleocr-hebrew 3.1%, heb_rivok 12.8%. Most of the Tesseract error there is word order on lines with Hebrew and English: Tesseract picks a direction for the line and can put the English part first (tesseract#4680). And on GlotOCR's degraded "old document" images, Surya (23.0%) and dots.ocr (23.4%) are slightly ahead of heb_rivok (24.5%).
Errors and seconds, one dot per engine
Lower is fewer errors; further left is faster. The Tesseract models sit in a tight group under a second per page, paddleocr-hebrew takes 3.2 seconds, and the vision models are spread out to the right.
The numbers behind the chart
| Engine | GlotOCR clean | CPU s per page |
|---|---|---|
| heb_rivok 2.0 | 11.0% | 0.85 |
| dots.ocr | 11.6% † | 215 |
| heb_rivok_lite 2.0 | 13.7% | 0.57 |
| Surya 2.5 | 18.7% | 48 |
| tessdata_best script/Hebrew | 20.7% | 0.84 |
| Ubuntu heb (tessdata_fast) | 21.2% | 0.46 |
| tessdata_best heb | 24.6% | 0.63 |
| boro11204 heb4 | 26.6% | 0.67 |
| Gemma 3 4B | 31.6% † | 64 |
| paddleocr-hebrew 0.1.2 | 32.6% | 3.2 |
| Qwen3-VL 4B | 38.7% | 114 |
Big AI vision models struggle with Hebrew
Qwen3-VL 4B and Gemma 3 4B are general vision-language models: you show them an image and ask for the text. On Hebrew they made more errors than most of the classic engines: 38.7% and 31.6% on GlotOCR clean, against 11.0% for heb_rivok 2.0 and 20.7% for Google's best Tesseract model (of the classic engines, only paddleocr-hebrew, at 32.6%, was in their range there).
Some of their error rates are above 100%: Qwen3-VL 4B scored 214.4% on the old books and 128.7% on our 9 pages. An error rate above 100% means the model wrote far more text than the image contains. It gets stuck repeating a phrase and keeps going until it hits the output limit we set (384 tokens per line, 2,048 per page). Counting a line as a loop when the output is more than twice as long as the true text, or repeats a short phrase three or more times in a row, Qwen3-VL 4B looped on 305 of the 1,087 old-book lines, dots.ocr on 130, Gemma 3 4B on 56 and Surya on 4. No Tesseract-based model looped on more than 2.
Loops are not the whole story. The median line error on the old books, which a few loops cannot move, was 73.7% for Qwen3-VL 4B and 29.3% for Gemma 3 4B, against 3.9% for Surya and 13.1% for dots.ocr. Surya and dots.ocr are vision models trained for OCR, and it shows. Model size matters too: GlotOCR's published figure for the larger Qwen3-VL 8B is 23.6%; we ran the 4B, at 4-bit.
| Source | Text |
|---|---|
| The line | |
| True text | ביתי, ואם לא–הן לא חסרת כל. |
| Qwen3-VL 4B † | בַּחֲרָה, וְאֶת הַשְּׁמָרָה אֶל הַשְּׁמָרָה בַּחֲרָה, וְאֶת הַשְּׁמָרָה אֶל הַשְּׁמָרָה בַּחֲרָה, וְאֶת הַשְּׁמָרָה אֶל הַשְּׁמָרָה … |
| dots.ocr † | בְּשִׁמְכָּל הַמִּשְׁכָּל הַמִּשְׁכָּל הַמִּשְׁכָּל הַמִּשְׁכָּל הַמִּשְׁכָּל … |
Both outputs go on the same way until the 384-token limit (shortened here, at "…"). None of the repeated words is in the line, and the line has no vowel marks; both models added them. On the same line, Gemma 3 4B and the classic engines were within a few characters; Surya read the book's old-style lamed as a zayin three times (זא for לא). On another line of the same book, “ויהי השמש אל מחצית היום, ונשב לאכול לחם בנאות”, Gemma 3 4B wrote אני ("I") over and over. Line image: public domain (Wikimedia Commons scan). Text: Hebrew Wikisource, CC BY-SA 4.0. † GPU run.
One receipt line, 11 readings
A product line from the synthetic receipt set: two Hebrew words, then a brand and a size in English letters and digits. Lines like this are where engines differ most. Some misread "2TB"; others read every character but put the English part first, so the text copies, searches and sorts in the wrong order.
| Engine | Output | What happened |
|---|---|---|
| True text | כונן חיצוני WD 2TB | |
| paddleocr-hebrew 0.1.2 | כונן חיצוני WD 2TB | Exact |
| heb_rivok 2.0 | WD 27TB כונן חיצוני | English first; 2TB read as 27TB |
| heb_rivok_lite 2.0 | כונן חיצוני 278 WD | 2TB read as 278, before WD |
| Surya 2.5 | WD 2TB כונן חיצוני | Every character right; English first |
| dots.ocr † | WD 2TB חצוני HD | English first; a word dropped, HD added |
| Qwen3-VL 4B † | WD 2TB כונן חיצוני | Every character right; English first |
| Gemma 3 4B † | WD 2TB כונן חיצוני | Every character right; English first |
| boro11204 heb4 | כונן חיצוני םד2 WD | 2TB read as םד2, before WD |
| tessdata_best script/Hebrew | כונן חיצוני 278 סש | 2TB read as 278, WD as Hebrew letters |
| tessdata_best heb | כונן חיצוני 8ד2 WD | 2TB read as 8ד2, before WD |
| Ubuntu heb (tessdata_fast) | כונן חיצוני 8ד2 WD | 2TB read as 8ד2, before WD |
Line synth_000009_l025 of the 300 synthetic mixed lines, shown enlarged.
Outputs are copied from the result files; the invisible direction marks (U+200E, U+200F) that
some Tesseract models add are removed. One line is an illustration, not a score: the scores
are in the full table. † GPU run.
What you may do with each one
All 11 are free to download and run on your own machine. Whether you may use them in a business is a different question.
| Engine | Licence | Commercial use |
|---|---|---|
| heb_rivok 2.0, heb_rivok_lite 2.0 (ours) | Apache-2.0 | Allowed |
| paddleocr-hebrew 0.1.2 (ours) | Apache-2.0 | Allowed |
| tessdata_best script/Hebrew and heb, Ubuntu heb (Google) | Apache-2.0 | Allowed |
| boro11204 heb4 | Apache-2.0 | Allowed |
| Qwen3-VL 4B Instruct | Apache-2.0 | Allowed |
| Surya 2.5 | Code Apache-2.0; weights a modified OpenRAIL-M (model licence) | Weights free for research, personal use, and companies under $5M in both revenue and funding. Above either, a commercial licence from Datalab is needed. Building a product that competes with Datalab's is not allowed at any size |
| dots.ocr | dots.ocr licence, MIT-based, with prohibited uses (dots.ocr) | Allowed, except the prohibited uses: no sensitive personal data, no unauthorised digitisation of publications |
| Gemma 3 4B | Gemma Terms of Use | Open weights with use restrictions; gated on Google's repository |
A summary to help you choose, not legal advice. Read the licence itself before you build on a model; terms can change between versions.
All 11 engines, all five sets
Character error rate (CER): the share of characters read wrong, missed or added. Lower is better. "Words found" is the share of the page's words an engine found; higher is better. The lowest error in each column, and the most words found, are in bold.
| Engine | GlotOCR-bench | Old books | Mixed lines | 9 pages | CPU only, seconds | |||
|---|---|---|---|---|---|---|---|---|
| Clean | "Old doc." | 1,087 lines | 300, synthetic | CER | Words found | Per line | Per page | |
| heb_rivok 2.0 (ours) | 11.0 | 24.5 | 2.6 | 12.8 | 1.0 | 97.3 | 0.18 | 0.85 |
| heb_rivok_lite 2.0 (ours) | 13.7 | 27.4 | 4.7 | 13.0 | 1.5 | 97.3 | 0.10 | 0.57 |
| paddleocr-hebrew 0.1.2 (ours) | 32.6 | 36.9 | 9.6 | 3.1 | 7.3 | 87.0 | 0.27 | 3.2 |
| Surya 2.5 | 18.7 | 23.0 | 12.6 † | 21.9 | 1.5 | 95.0 | 7.5–9 | 48 |
| dots.ocr (Q8_0) | 11.6 † | 23.4 † | 84.1 † | 104.2 † | 4.3 † | 88.8 † | 39–62 | 215 |
| Qwen3-VL 4B Instruct (Q4_K_M) | 38.7 | 43.9 | 214.4 † | 37.9 † | 128.7 | 15.2 | 20–31 | 114 |
| Gemma 3 4B it (Q4_K_M) | 31.6 † | 39.8 † | 74.3 † | 31.9 † | 76.4 † | 36.2 † | 41–43 | 64 |
| boro11204 heb4 (Tesseract) | 26.6 | 36.7 | 10.8 | 21.4 | 6.6 | 87.0 | 0.10 | 0.67 |
| tessdata_best script/Hebrew | 20.7 | 31.8 | 7.8 | 15.1 | 3.0 | 90.5 | 0.17 | 0.84 |
| tessdata_best heb | 24.6 | 33.5 | 11.2 | 15.8 | 6.8 | 87.5 | 0.10 | 0.63 |
| Ubuntu heb (tessdata_fast) | 21.2 | 34.0 | 11.3 | 17.1 | 6.8 | 86.9 | 0.08 | 0.46 |
† The accuracy in this cell comes from a GPU run (NVIDIA Quadro P2000, 5 GB). The model, quantisation, prompt and scorer were the same as on the CPU, so the accuracy is that of the same model either way; only the speed differs. For dots.ocr's pages, 7 of the 9 ran on the GPU and the 2 real scans on the CPU. The CPU columns were measured on the CPU only, for every engine. Error rates can exceed 100% when an engine writes far more text than the line holds (section 03). dots.ocr's 11.6% on GlotOCR clean is within a point of its published 12.5%.
Old books include a vowelled prayer book (Selichot, 1885), and the true text keeps the vowel
marks. paddleocr-hebrew and the stock heb models cannot output niqqud, so most of their
error on that book is missing marks.
What these numbers don't tell you
- Three of the five sets are ours, and so are three of the engines. We built the old-book set, the synthetic mixed lines and the 9 pages, and we built heb_rivok, heb_rivok_lite and paddleocr-hebrew. Every number here is our own measurement. Only GlotOCR-bench was made by someone else.
- Training overlap. None of the four old books is among the 14 books heb_rivok was trained on, so the model never saw these scans. We also searched our synthetic training text for every old-book line of 25 characters or more (1,005 lines): two, common biblical and prayer lines in the 1885 Selichot, appear there word for word.
- The 9 pages favour heb_rivok. Seven of them are example pages we wrote for heb_rivok's model card, in fonts that are among heb_rivok 2.0's training fonts (with other text). paddleocr-hebrew reads them worse. Only 2 of the 9 are real scans.
- The mixed set is synthetic. Its 300 lines are generated receipt and invoice lines: a check of how engines handle mixed lines, not a result on real documents.
- Old books are old print. They test 1870s–1920s typography, not modern documents.
- CPU timings are from our machine, an Intel Xeon E5-1630 v4 (4 cores, 8 threads), with at most 6 threads per engine. Another job used about 4 cores for much of the time, so the vision models' CPU timings are on the slow side.
- Local engines only. No cloud service was tested; nothing was uploaded. GlotOCR's public leaderboard lists cloud models on the same clean images: gemini-3.1-flash-lite at 6.9%, gpt-4.1 at 15.1%.
- Runtime and settings matter for vision models. Gemma 3 4B through Ollama gave far worse results than the same model through llama.cpp, so we used llama.cpp. Another prompt, output limit or quantisation could change their numbers.
- Not tested: handwriting and Rashi script; none of the sets contain them.
- Versions: Tesseract 5.5.0; heb_rivok and heb_rivok_lite 2.0 (float files);
Google tessdata_best
hebandscript/Hebrew; Ubuntu'sheb(tessdata_fast); boro11204 heb4 (@9687c86); paddleocr-hebrew 0.1.2 with onnxruntime 1.32.0; Surya 2.5 (surya-ocr 0.24.0, llama.cpp backend); dots.ocr (ggml-org Q8_0 GGUF); Qwen3-VL 4B Instruct (Q4_K_M); Gemma 3 4B it (ggml-org Q4_K_M GGUF, f16 vision projector); llama.cpp @5917b39. Run 25–27 November 2026.
Five sets, one scorer each
The test set, every engine's raw output and the scorer are on GitHub: RivoksLab/hebrew-ocr-benchmark. One command re-scores all the results below, or scores your own engine the same way.
| Set | Size | Source | Licence |
|---|---|---|---|
| GlotOCR-bench, Hebrew script: clean and "old document" | 100 lines, each in 2 versions | cis-lmu, Hugging Face: synthetic lines in decorative Google Fonts, about half not modern Hebrew | See the dataset page |
| Old books | 1,087 lines | Four public-domain books: Bostenay (Vilna 1872), Kol (1883), Selichot (1885, vowelled), Masa ba-Arav (Warsaw 1922). Wikimedia Commons scans, hand-checked line labels from Hebrew Wikisource. Never used in training | Images public domain; text CC BY-SA 4.0 |
| Mixed lines (synthetic) | 300 lines | Generated receipt and invoice lines (hebrew-mixed-bench synth_v1, sample of 300) | Ours |
| Pages, written | 7 pages | heb_rivok's example pages: text we wrote, rendered and damaged (scan, fax, photocopy, photo) | Ours (fonts SIL OFL / Culmus GPL+FE) |
| Pages, real scans | 2 pages | Bostenay 1872 p. 42, Masa ba-Arav 1922 p. 4 (National Library of Israel, via Commons) | Images public domain; text CC BY-SA 4.0 |
Metrics
Character error rate everywhere. GlotOCR-bench is scored with GlotOCR's own scorer (a verbatim copy), mean over the 100 lines, so its numbers line up with the public leaderboard. Old books: pooled CER over all lines. Mixed lines: order-sensitive CER in reading order, so a line with the English part in the wrong place counts as wrong. Pages: whole-page CER in reading order, plus "words found", which ignores order.
Settings
Tesseract: --psm 13 on old-book lines, --psm 7 on mixed lines, the
default page mode on pages and --psm 6 on GlotOCR, as GlotOCR's authors do;
heb and heb_rivok_lite with +eng on mixed lines and pages.
Vision models: one fixed prompt at temperature 0, at most 384 tokens per line and 2,048 per page:
"Transcribe the text in this image exactly as it appears, keeping its line breaks. Return only the
transcription wrapped in <text></text> tags, with no commentary or explanation."
dots.ocr used its own documented prompt, which gave the same output as ours on 5 test samples and is faster. Surya ran its
default full-page OCR.
Timing
Median seconds per line and per page, one image at a time, CPU only, at most 6 threads. The classic engines were timed on 60 lines and the 9 pages. Images went only to local processes.
Which engine works on yours?
Want to know which engine works on your documents? We run this comparison on a sample of yours and tell you what to use.
Common questions
What is the most accurate free Hebrew OCR?
It depends on the documents. In our tests, heb_rivok 2.0 (a Tesseract model) had the lowest error of the 11 engines on old printed books (2.6%) and on the clean images of GlotOCR-bench (11.0%). On lines that mix Hebrew with English and numbers, paddleocr-hebrew had the lowest (3.1%, against 12.8% for heb_rivok). On GlotOCR's degraded "old document" images, Surya (23.0%) and dots.ocr (23.4%) were slightly ahead of heb_rivok (24.5%). We built heb_rivok and paddleocr-hebrew, and three of the five test sets are ours, so test on a sample of your own documents before you decide.
Can I use these Hebrew OCR engines commercially?
Eight of the 11 are under Apache-2.0, which allows commercial use: heb_rivok, heb_rivok_lite, paddleocr-hebrew, Google's three Tesseract models, boro11204 heb4 and Qwen3-VL 4B. Surya's code is Apache-2.0, but its weights use a modified OpenRAIL-M licence that is free only for research, personal use and companies with under $5M in both revenue and funding. dots.ocr has an MIT-based licence with prohibited uses. Gemma 3 is under Google's Gemma Terms of Use, with use restrictions. This is a summary, not legal advice: read each licence (table above).
Does Hebrew OCR need a GPU?
No. The Tesseract models took 0.46 to 0.85 seconds per page on an ordinary CPU in our tests, and paddleocr-hebrew 3.2 seconds. The AI vision models also run on a CPU, but took from 48 seconds (Surya) to 215 seconds (dots.ocr) per page on the same machine; for them a GPU makes a large difference.
Are AI vision models better at Hebrew OCR?
The small open ones we ran were not. Qwen3-VL 4B and Gemma 3 4B had 38.7% and 31.6% character errors on GlotOCR-bench's clean Hebrew images, and on old printed books they often got stuck repeating a phrase. Surya and dots.ocr, which are vision models trained for OCR, did much better. We did not test cloud services; GlotOCR's public leaderboard lists gemini-3.1-flash-lite at 6.9% and gpt-4.1 at 15.1% on the clean images.