OCR Arabic PDF

Recognise Arabic text in scanned documents, optimised for right-to-left reading order.

Drop your scanned PDF here or click to browsePhoto scans and image-only pages work best — processed on your device

How to use OCR Arabic

  1. Upload the scanned Arabic PDF.
  2. Select "Arabic" as the document language.
  3. Click "Run Arabic OCR".
  4. Download the searchable Arabic PDF.

Features

  • Optimised for Arabic script
  • Corrects right-to-left formatting
  • High accuracy on cursive characters
  • Maintains visual page fidelity

Files are processed in your browser and never leave your device.

About OCR Arabic

Arabic recognition is not a font swap on top of a Latin engine. Right-to-left reading order, contextual letter shapes and diacritics all have to be handled by a model trained on Arabic script. This tool does that, so a scanned Arabic contract or article becomes searchable text instead of an image.

When the script runs the other way

Most people never think about the direction text flows. English runs left to right, and the software tools built around it assume as much, cursor positions, selection ranges, search highlighting, the way a paragraph anchors to a margin. Arabic reverses every one of those assumptions. It runs right to left, letters change shape depending on what surrounds them, and a word that looks connected on the page is often a sequence of independent glyph decisions hidden inside a cursive stroke. When an OCR engine trained primarily on Latin script encounters Arabic, the result is frequently a mess of disconnected characters, inverted word order, or both.

This tool exists because that failure mode is not an edge case for the millions of people who read and write Arabic. It is the default. Scanned legal contracts, historical manuscripts, government correspondence, newspaper archives, none of them are niche in regions where Arabic is the language of record. Treating Arabic OCR as an afterthought bolted onto a Latin-first pipeline means those documents either stay locked in their scanned form or get transcribed by hand at significant cost. The specialised model used here was trained on the script’s actual structure: how letters join, where word boundaries fall, how diacritics attach, and how a right-to-left baseline should be reconstructed when the text layer is written back into the PDF.

Ligatures, diacritics, and the details that matter

Arabic writing is built from a set of contextual forms. A single letter like ب (beh) has an isolated shape, an initial shape, a medial shape, and a final shape, and which one appears depends entirely on the letters before and after it. Several letters combine into ligatures (sequences that merge into a single visual unit) and some of those combinations change meaning or pronunciation. A generic OCR engine that treats each glyph independently will break these connections, producing text that looks superficially Arabic but falls apart the moment you try to search it, copy it, or feed it into a downstream process.

Diacritics add another layer. The short vowel marks (harakat) that sit above or below letters are not optional decoration in many contexts, religious texts, poetry, legal documents where precise pronunciation matters, and materials intended for learners all rely on them. Misread or dropped diacritics can change a word’s meaning entirely. The language-specific model here is tuned to recognise these marks when they are present and, crucially, to preserve their positional relationship to the base letter when the text layer is rebuilt. That is the difference between a PDF that merely contains Arabic characters and one whose Arabic text is actually faithful to the original.

Right-to-Left Changes More Than Layout

Even when character recognition is correct, layout reconstruction can still go wrong. A PDF text layer stores characters in a logical order, but the viewer decides how to display them based on directionality metadata. If that metadata is missing or incorrect, an Arabic PDF will render with reversed word order, punctuation stuck to the wrong side, or mixed Arabic-English passages that fall apart at the script boundary. This is why a Latin-optimised OCR run on Arabic content often produces text that looks garbled in some viewers and fine in others, the underlying characters may be right, but the presentation is not.

The tool handles this by setting proper RTL directionality on the reconstructed text layer and by correctly placing bidi (bidirectional) runs when Arabic and Latin script appear in the same passage. That matters more often than you might expect. Official documents frequently mix in English names, dates in Gregorian format, reference numbers, or footer text. Getting the boundary between an RTL Arabic run and an LTR English run wrong is one of the most common ways otherwise-successful Arabic OCR fails to produce a usable file. Here, that boundary is treated as a first-class concern, not a post-processing cleanup step.

Who this is for, and why the alternative is worse

The obvious use case is archives: scanned collections of Arabic-language material (newspapers, government records, personal correspondence, published books) that need to become searchable without being retyped. A searchable PDF from this process behaves like any other searchable PDF: full-text search finds the right pages, text can be copied into notes or reports, and screen readers can process the content. For institutions sitting on decades of Arabic scans with no text layer, that is the difference between a dormant pile and a researchable collection.

The other audience is anyone working across Arabic and other languages in a single workflow. Legal translators, academic researchers, journalists, and administrators all encounter documents where Arabic is the primary language but Latin-script elements are woven in. Generic OCR tends to treat these as either pure Arabic or pure English and mangles whichever script it did not prioritise. The mixed-language handling here means a bilingual contract, a report with Arabic body text and English headers, or a page of Arabic with Latin-script citations can go through a single pass and come out with a text layer that respects both directions.

The alternative, for most people, is either abandoning the scan to a transcription service or attempting to correct generic OCR output character by character, both slower and more error-prone than starting with a model designed for the script. Arabic is not a variant of English with different letters; it is a different system of writing with different rules, and treating it as such is the only way to get results that hold up under actual use.

Frequently asked questions

Is it better than generic OCR?

Yes. Generic OCR frequently misinterprets Arabic ligatures, leading to gibberish in the text layer.

Does it support mixed-language documents?

Yes, it handles Arabic and Latin script mixes effectively.

Does it handle diacritics?

The model recognises short vowel marks when they are present and keeps them attached to the base letter. Very small or faint diacritics may still be missed.

Can I search the Arabic text afterwards?

Yes, in a reader that supports Arabic search. Copying works too, though the order can look reversed in software that ignores right-to-left direction.

Does it work on old manuscripts?

It can, but faded ink, unusual calligraphy and damaged paper lower accuracy. A clean printed contract is a much easier input than a hand-copied manuscript.

Which Arabic variants are covered?

Modern Standard Arabic is the main target. Dialect-heavy text and heavily stylised calligraphy are harder and may need manual correction.

What about numbers and dates?

Arabic-Indic and Latin digits are both recognised. Mixed dates usually survive, but check them before relying on the output.

Related tools

Other utilities that work the same way, fully offline.