How to extract Arabic text from an image
-
Add your images
Choose photos or screenshots with Arabic text, or take a photo on your phone. -
Keep Arabic selected
Arabic is preselected on this page. Its model downloads from this site the first time. -
Clean up photos
Leave Clean up the image before reading on for photos of paper. -
Extract the text
Press Extract text. Arabic recognition can take a little longer than Latin scripts. -
Review right to left
The result box shows the text right to left. Correct any misread letters or dots. -
Copy or save
Press Copy text or Download .txt.
OCR for Arabic script
Arabic is one of the most widely used scripts in the world, and also one of the most demanding for OCR. Letters join together, take different shapes at the start, middle and end of a word, and many are told apart only by the number and position of dots. Text runs right to left, while numbers and embedded Latin words run left to right. A recognition model has to know all of this to produce usable text.
This page preselects a model trained for Arabic script. Add an image, extract the text, and it appears right to left in an editable box, ready to copy into a message, a document or a translation tool.
What the Arabic model handles
- Connected letter forms: initial, medial, final and isolated shapes of each letter.
- Dotted letters, such as ب ت ث and ج ح خ, which differ only by their dots.
- Common ligatures, such as لا (lam-alef).
- Hamza forms and the ta marbuta ة.
- Right-to-left reading order, with numbers and Latin text in the right logical order.
- Modern printed fonts used in newspapers, books, official letters and screens.
Fully vowelized text with complete tashkeel and decorative calligraphy are harder; expect more corrections for those.
Features
- Arabic model preselected and loaded from the PDF Camera website only when you start.
- Right-to-left result box that shows Arabic as it should read.
- Image cleanup that removes shadows and increases contrast, which helps keep small dots visible.
- Works with photos, scans and screenshots in JPG, PNG, WebP and HEIC.
- Several images per run, each separated in the output.
- Copy or download as a UTF-8 text file, which keeps Arabic characters intact in any editor.
Tips for Arabic documents
- Sharpness matters most. Dots are small, and a blurry image turns ب into ت or ن. Get close and use good light.
- Use high resolution for small fonts. Official letters and newspapers often use small type; photograph them closely or crop.
- Avoid shadows across lines. Dots in shadow are easily lost. Keep cleanup on.
- Screenshots work very well, because screen text is sharp. Paste them with Ctrl+V or Cmd+V.
- Check numbers separately, whether Western or Eastern Arabic digits.
- Crop mixed-language areas. If a page has Arabic and English paragraphs, crop each part and use the matching language.
- Straighten first with the scanner if the page was photographed at an angle.
Why some Arabic letters get confused
Many Arabic letters share the same basic shape and are told apart only by dots above or below. If the image is not sharp enough, the dots blur together or disappear, and the engine has to guess. These pairs and groups are the most common sources of errors:
| Letters | Difference | What helps |
|---|---|---|
| ب ت ث ن ي | One, two or three dots, above or below | Sharp focus, good light |
| ج ح خ | One dot below, none, or one dot above | Higher resolution |
| د ذ / ر ز | With or without one dot above | Closer photo of small text |
| س ش / ص ض / ط ظ | With or without dots above | Contrast between ink and paper |
| ع غ / ف ق | Dots that distinguish similar shapes | Avoid shadows across the line |
The final forms of ي and ى (ya and alef maqsura) also look very similar in many fonts and are often swapped. When precision matters, for example in names, check these letters carefully in the result.
Getting the best text for translation
Many people use Arabic OCR to translate a document. A few habits make the translated result much better:
- Fix obvious OCR errors first, before pasting into a translation tool. A wrong dot can change a word completely and make the translation meaningless.
- Keep paragraphs together. Translation works better on complete sentences than on lines broken mid-sentence. Join broken lines in the result box before copying.
- Separate languages. If the page has Arabic and English paragraphs, extract and translate them separately.
- Keep the original image next to the translation, so a reader can check names, numbers and dates.
Choosing between cleanup on and off
For photos of paper, leave cleanup on: it removes shadows and strengthens contrast, which keeps dots visible. For screenshots and digital images with a plain background, cleanup is not needed, and switching it off can preserve very thin strokes in some fonts. If one setting gives poor results, try the other on the same image.
Arabic printed on glossy paper, such as magazines and brochures, often reflects light. Tilt the page slightly away from the lamp before you take the photo.
Common uses
- Official letters and certificates in Arabic, copied into replies or applications.
- Studying: extracting passages from textbooks and articles for notes and quotations.
- Translation: getting Arabic text from images into a translation tool or to a translator.
- News and research: saving text from printed articles and reports.
- Business documents, such as invoices and contracts, where names and numbers must be reused.
- Signs, menus and notices photographed while traveling.
- Making screenshots searchable, by extracting their text into notes.
How it works
The engine is Tesseract, an open source OCR program compiled to WebAssembly and running inside your browser. On first use, the page downloads the engine and the Arabic model from the PDF Camera website and your browser stores them for later visits and offline use.
With cleanup on, the image is first processed in a background worker to even out the lighting and increase contrast. Tesseract then finds the text lines, determines that the script runs right to left, and reads each line with a neural network trained on Arabic. Because it reads whole lines rather than isolated letters, it can handle connected letter shapes. The output text is stored in logical order, which is how computers expect Arabic text, and displayed right to left in the result box.
Privacy: your files stay on your device
Arabic documents you process here are never uploaded. The engine runs on your device, the image is read locally, and the text exists only in this page until you copy or save it. That matters for personal letters, identity papers, contracts and anything else you would not want stored on someone else's server.
Troubleshooting
- Dots are wrong or missing. Use a sharper, closer image and keep cleanup on.
- Text appears left to right. In some apps, paste into a field or document that supports right-to-left text, or set the paragraph direction to right to left.
- Diacritics are lost. The model is trained mostly on unvowelized text; add marks manually if you need them.
- English words came out wrong. For mixed pages, crop the English part and read it with English selected.
- The first run does not start. The engine and model need to download once. Check your connection.
Supported devices and browsers
Works in current versions of Chrome, Edge, Firefox and Safari on computers, and in mobile browsers on Android and iPhone. See OCR for all languages, including Swahili OCR and French OCR.
Frequently asked questions
Is Arabic OCR harder than English OCR?
Yes. Arabic letters connect and change shape depending on their position in a word, many letters differ only by dots, and short vowels are often written as small marks or left out. A dedicated Arabic model handles these features, but clean, sharp images matter even more.
Does it recognize diacritics (tashkeel)?
The model is trained mainly on text without full diacritics, which is how most printed Arabic is written. Fully vowelized text, such as some religious and children's books, may have its marks misread or dropped.
Is the output right to left?
Yes. The result box switches to right-to-left display for Arabic, and the copied or downloaded text keeps the correct logical order.
What about numbers in Arabic text?
Western digits (0-9) and Eastern Arabic digits are both used in print. Check numbers carefully, since they are easy to misread in small print.
Can it read Persian or Urdu?
Those languages use extra letters and different fonts. The Arabic model will recognize shared letters but results will be noticeably weaker than for Arabic.
Can I make a searchable PDF in Arabic?
Not with this site at the moment. The searchable PDF text layer supports Latin-alphabet languages only. Use this OCR tool to copy Arabic text instead.
Can it read handwritten Arabic?
It is designed for printed text. Handwriting, especially in calligraphic styles, is rarely recognized correctly.
Are my images uploaded?
No. Recognition runs in your browser and nothing is sent to a server.
Related tools
Last updated 29 November 2026