PDF & Document Tools • 5 min read

How to Turn a Scanned PDF or Photo into Editable Text (OCR)

Check whether a PDF is scanned, scan for good OCR results, pick the right language, and proofread recognised text, with privacy kept in your browser.

Published: 2026-11-11 • Last Updated: 2026-11-11 • By Mohammed Zawwar Hussain

Interactive Online Tools Referenced in this Guide

Is your PDF scanned or digital?

Open the PDF and try to select a sentence with the mouse. If the text highlights word by word, the PDF already contains text: you can copy it directly or use PDF to Text, and no OCR is needed. If dragging draws a box over the whole page, or nothing highlights, the page is an image, typically a scan or a phone photo, and you need optical character recognition (OCR) to turn the picture of letters into real text.

Many PDFs are mixed: a typed letter with a scanned signature page, or a report with scanned annexes. OCR PDF handles that automatically by reading the text layer where it exists and running OCR only on pages that have almost no text.

What OCR can and cannot do

OCR engines such as Tesseract, which ProIT uses, are very good at clear printed text in a known language. Typical results on a clean 300 dpi scan of a printed page are close to perfect. Accuracy drops with:

  • handwriting (OCR engines designed for print rarely read it reliably);
  • low resolution, blur, shadows or pages photographed at an angle;
  • decorative fonts, very small print, and text over photos or coloured backgrounds;
  • complex layouts: tables, multiple columns and forms come out as text in reading order, without their structure;
  • stamps, signatures and watermarks over the text.

Treat OCR output as a strong first draft. Always proofread names, numbers, dates and amounts, because a misread 8 for 3 is easy to miss and expensive later.

Scanning for good recognition

SettingRecommendation
Resolution300 dpi for normal text; 400 dpi for print smaller than 9 pt
ColourGrayscale is ideal; colour only if text is coloured
AlignmentPage straight on the glass; phone directly above the page
Lighting (phone)Even daylight, no flash, no shadow of your hand
FormatPDF or PNG; avoid heavily compressed JPEGs

If you already compressed a PDF to meet an upload limit, run OCR on the original instead; strong compression blurs letters.

Choosing the language

The language setting tells the engine which alphabet and words to expect, and it matters more than anything else you control. ProIT supports English, Arabic, English + Arabic, French, Spanish, German, Urdu and Hindi. For a Saudi government letter with Arabic text and English reference numbers, choose English + Arabic. Choosing English for an Arabic document produces nonsense, because the engine tries to read Arabic letters as Latin ones.

The first time you use a language, the browser downloads its recognition data, a few megabytes, and keeps it for later visits.

Step by step

  1. Open OCR PDF & Image to Text and drop in a PDF or an image (PNG, JPG, WebP or BMP).
  2. Pick the document language.
  3. Leave "OCR every page" off unless the PDF has a poor existing text layer, for example one added by a cheap scanner, that you want to replace.
  4. Click Extract text. Each page is processed in turn with a progress bar; long documents can take a minute or two, especially on phones.
  5. Read the summary: it shows how many pages came from the text layer, how many needed OCR, and the average OCR confidence. Pages with low confidence deserve the most careful proofreading.
  6. Copy the text or download it as a .txt file. Paste into Word or Google Docs to restore headings and formatting.

Privacy: why in-browser OCR matters

The documents people OCR most often are contracts, IDs, medical reports and bank letters. ProIT's OCR runs in your browser: the PDF is read by pdf.js and recognised by Tesseract on your own device, and the file is never uploaded. The only downloads are the OCR engine and language data from a public CDN, which contain nothing about your document. On a shared computer, close the tab when you are done and clear the downloaded text file from the Downloads folder.

Proofreading OCR output quickly

Proofreading line by line against the scan is slow. These checks find most errors fast:

  • Paste the text into a word processor and let its spell checker underline unusual words; OCR errors are usually non-words such as "rnanagement" for "management".
  • Search for characters that OCR confuses: 0 and O, 1 and l, 5 and S, rn and m, and in Arabic, letters that differ only by their dots.
  • Recalculate totals in financial documents; a single misread digit makes them stop adding up.
  • Compare every name, ID number and date with the original image. These are the values that matter most and the hardest for OCR to check against a dictionary.

Turning the text back into a document

OCR gives you plain text, not a formatted document. Paste it into Word or Google Docs and restore headings, lists and paragraphs; the "--- Page n ---" markers help you keep track. For tables, it is often quicker to retype the numbers into a spreadsheet from the recognised text than to fix the layout. If you need a searchable PDF afterwards, export the corrected document to PDF from your word processor.

Frequently Asked Questions

Why is some of my text in the wrong order? ↓
Multi-column layouts and tables are read line by line across the page. Copy the text into a document and rearrange it, or crop the page into columns first.
Can OCR read handwriting? ↓
Not reliably. Neat block capitals sometimes work; cursive handwriting usually does not.
How many pages can I OCR at once? ↓
Up to 50 pages per run. Split longer documents with Split PDF and process them in parts.
Why is OCR slower the first time? ↓
The first run downloads the OCR engine and the language data. Later runs in the same browser usually reuse the cached files and start much faster.
Which is faster, a phone or a computer? ↓
A computer, usually by a wide margin. OCR is processor-heavy, so long documents are best done on a laptop or desktop.