Image & PDF to Text (OCR)
Extract text from photos and scanned PDFs in Arabic, English or both. Copy it or save it as a .txt file.
- Files stay on your device.
Settings
Pick the main language of the text. Add a second language only if the picture also has words in it (for example Arabic with English names). One language is faster and more accurate.
For example 1-3, 5. Leave empty to read every page (up to 300).
Turns it grey, stretches the contrast and adds a white margin. If a small picture reads badly, it is read again at double size and the better result is kept. You can switch this off for clean 300 dpi scans.
Automatic finds columns and paragraphs on a full page. One block suits a photo of a single paragraph or column. Scattered text suits receipts, labels and screenshots with text in separate places.
When a page is hard to read, the tool also tries it turned the other three ways and keeps the best. This can take longer.
Hides ornaments, borders and texture that were read as letters. Turn it off if real lines are missing.
Diacritics are the small marks above and below Arabic letters. The reader recognises them unreliably, so they are kept exactly as recognised unless you tick this box. Check them yourself if they matter.
Extracted text
Check the text against the original: OCR can make mistakes, especially with small print and diacritics.
How to use Image & PDF to Text (OCR)
- Choose a picture or a scanned PDF, drop it in the box, or paste an image.
- Pick the language of the text (Arabic, English or both) and, for a PDF, the pages to read.
- Click Read text, check the result, then copy it or download a .txt file.
Getting good Arabic OCR results
OCR (optical character recognition) turns the pixels of a picture into letters. It only knows what it can see, so the clearer the shapes, the better the text. Arabic is harder for a computer than English: letters join, change shape depending on where they sit in a word, and a single dot decides which letter it is.
Before you scan or photograph: a checklist
- Resolution: scan printed text at 300 dpi. Large print can go down to about 200 dpi; small print should not.
- No heavy compression: save as PNG, or as JPG at high quality. Avoid "small file" scanner modes and screenshots of screenshots.
- Straight: a tilt of a few degrees can already cause mistakes. Rescan, or rotate the picture first.
- High contrast: dark text on a plain, light page. Avoid shadows, creases, glare and coloured backgrounds. Light text on a dark background is often missed.
- Clean edges: crop away dark borders, fingers and the table.
- Upright pages, one at a time: the reader does not turn a sideways or upside-down page the right way up.
What this tool does to your picture
With "Improve the picture first" on (the default), the picture is turned grey, its contrast is stretched so the darkest ink becomes black and the paper white, and a small white margin is added. If the first reading is shaky and the picture is small, it is read again at double size and the more confident result is kept. PDF pages are drawn at about 300 dpi, one page at a time, so a long PDF does not fill your memory. Switch the option off if your scan is already clean and you want it read exactly as it is.
What OCR can and cannot read
| Kind of text | What to expect |
|---|---|
| Printed Arabic, clean scan | Usually readable. A few wrong letters and dots are normal, so proofread. |
| Printed English and digits | Good on clean pages. |
| Arabic with English words | Works with Arabic first and English second. Check the mixed lines closely. |
| Diacritics (tashkeel) | Unreliable. See the question about diacritics above. |
| Handwriting, calligraphy, very decorative fonts | Not supported. Expect nonsense or nothing. |
| Tables, forms, columns | The text is found but the layout is lost, and the order of columns can be wrong. |
| Curved pages, shadows, glare | Often poor. Retake the photo. |
| Light text on a dark background | Often missed. |
Photo, scan or screenshot: what to expect
| Picture type | Scan (300 dpi) | Phone photo | Screenshot |
|---|---|---|---|
| Typical quality | Even and sharp when set to 300 dpi | Sharp in the middle, softer at the edges | Crisp, but often low resolution |
| Common problems | Slight tilt; scanner set to a "small file" mode | Tilt, shadows, curved pages, blur from movement | Tiny text, a dark theme |
| What helps | Scan at 300 dpi in grey or black and white; save as PNG or an uncompressed PDF | Hold the phone flat above the page in daylight and tap to focus, or use your phone's scanner app first | Zoom the page to 150% or more before the screenshot and use a light theme |
| What to expect | The best results | Good if straight and sharp, poor if not | Good for large, clean text; shaky for tiny text |
Copying Arabic into Word, Google Docs or Notepad without it flipping
The text comes out in logical order, the order you read it, which is how every program stores Arabic. If it looks reversed or the punctuation jumps to the wrong side, the program is not drawing right-to-left. Fix it there:
- Word: select the text and press the right-to-left button on the Home tab (or Ctrl + Right Shift).
- Google Docs: if the right-to-left button is missing, turn on a right-to-left language under File, then Language; then use the button on the toolbar.
- Windows Notepad: right-click the text and choose "Right to left Reading order", if your version offers it. The .txt file this tool saves is UTF-8 with a byte order mark, so Arabic opens correctly even in older Notepad versions.
Why the result always needs proofreading
An independent comparison of OCR tools on Arabic text (The Digital Orientalist, 2021) found that even the best free tools needed manual correction, that mixed Arabic and Latin text was a major weakness, and that preparing the picture first helped. Our tool uses the open-source Tesseract engine and shows the same behaviour: good on clean print, weaker on everything else. When you proofread, look hardest at dots (ب ت ث ن ي), at ة and ه, at ى and ي, at أ إ ا, at numbers and names, and at any stray Latin letters in a page that is all Arabic.
The confidence number shown for each page is the reader's own estimate, not a measured accuracy. A high number can still hide mistakes, and a low one means the page deserves a careful check against the original.
Image & PDF to Text (OCR): frequently asked questions
Can't find your answer? Send us a message and we will get back to you.
ContactHow accurate is the Arabic text?
It depends mostly on the scan. Clean, straight, high-resolution printed text is read well, but no OCR is perfect: plan to proofread. Expect more mistakes with photos taken at an angle, low resolution, decorative fonts and lines that mix Arabic and English. We do not quote an accuracy percentage because it changes too much from page to page. Instead, every page shows the reader's own confidence score as a rough guide, and the guide below explains how to get the best result.
Does it read diacritics (tashkeel)?
Not reliably. The reader sometimes recognises the marks and sometimes misses or invents them, and a wrong mark can even make it misread the letter it sits on. Whatever it recognises is kept exactly as it is, unless you tick "Remove diacritics". If the vowel marks matter (the Quran, poetry, teaching books), check every one against the original.
Can it read a page with Arabic and English together?
Yes: choose Arabic as the first language and English as the second (the default). Latin words, e-mail addresses and numbers inside Arabic lines are usually read, but mixed lines are the hardest case. A word can be misread, and on a line that starts with English the order of the pieces or the place of a full stop can come out wrong. If your page has no English at all, set the second language to None: in our tests it gave fewer stray Latin letters. Other languages (French, Turkish, Persian, Urdu, Russian, Chinese and more) are in the same two lists.
What scan quality do I need?
Aim for 300 dpi, dark text on a plain light background, a straight page and no heavy compression. Below roughly 150 dpi, or with very small text, mistakes increase quickly. The tool enlarges a small picture when the first reading looks shaky, but it cannot invent detail that is not in the picture.
Why is my text garbled or in the wrong order?
Check the language first: Arabic text read as English turns into Latin gibberish. Then look for a tilted or curved page, shadows, a dark background, or two columns read as one (try the "One block" layout, or rescan). The text is saved in the normal reading order, which Word, Google Docs and modern Notepad show correctly. In a program without right-to-left support any Arabic looks reversed; paste the text into Word or Google Docs and set the paragraph to right-to-left.
Can it read handwriting?
No. The reader is built for printed text. Handwriting and calligraphy usually come out as nonsense or as nothing at all.
Does it make a searchable PDF?
No. This tool gives you plain text that you can edit, copy or save as .txt. A searchable PDF is something else: the original scan with an invisible layer of text behind each page, so you can search and select words while the page still looks like the scan. This tool does not create that.
What is downloaded the first time?
The reading engine (about 1.5 MB) and the language data, once: about 6 MB in total for Arabic + English; most other languages are 1 to 3 MB each. These files come from this website, not from another company's server. Your browser normally keeps the language data for next time, so later runs start faster; it may delete it if you clear site data or use a private window, and then it downloads again.
What are the limits, and how long does it take?
You can add up to 5 files at once and they are read one after the other. Each can be a picture up to 60 megapixels or a PDF up to 100 MB. Up to 300 pages per PDF; for a longer PDF choose a page range, for example 1-300 and then 301-600. Devices that report little memory get lower limits. A page usually takes a few seconds on a computer and longer on a phone. Press Cancel at any time: the pages already read stay on screen.
Is my file uploaded? Is it private?
No. The picture or PDF is read inside your browser by a program running on your own device, and nothing from your file is sent to us or to anyone else. The only things downloaded are the program and language files described above. After a first successful run it should keep working with the internet switched off.