OCR: Turn Scanned PDFs and Images into Editable Text
Trying to copy text from a scanned document and getting nothing is a common frustration. A scan is a picture of text, and to a computer a picture of a letter "a" is just a pattern of pixels. OCR (optical character recognition) reads those pixels and turns them back into real characters you can select, search, copy and edit.
The short answer
To get text out of an image, use Image OCR. To get text out of a scanned PDF, use PDF OCR. To keep the scan looking exactly the same but make it searchable and copyable, use Searchable PDF. If you are not sure whether a PDF needs OCR at all, Extract Text reads the text layer directly when there is one and falls back to OCR when there is not. All four run in the browser, so the images and documents are never uploaded.
Does your document need OCR?
Open it and try to select a sentence.
- The words highlight one by one — the PDF already has a text layer. OCR is unnecessary; copy the text or use Extract Text directly.
- The whole page highlights as one block, or nothing highlights — it is an image. It needs OCR.
Photos, screenshots, faxes and anything that came out of a scanner without an OCR step fall into the second group.
How to extract text from an image
- Open Image OCR and add a JPG or PNG — a screenshot, a photo of a page, a receipt, a sign.
- Choose the language of the text.
- Run recognition, then copy the text or download it as a file.
How to OCR a scanned PDF
PDF OCR renders each page of the PDF as an image and runs recognition on it, giving you the text of the whole document. Use it when the goal is the text: to quote it, edit it, or paste it into another document.
Use Searchable PDF when the goal is the document. It keeps every scanned page exactly as it looks and adds an invisible text layer aligned with the words underneath, so search, copy and screen readers work while the page still looks like the original scan. This is the right choice for archiving contracts, statements and records.
Once a PDF has text, the rest of the toolkit works on it: PDF to Word produces an editable document, and Extract Tables from PDF pulls tabular data out to CSV or Excel. The guide to converting PDF to Word, Excel and PowerPoint covers what each conversion keeps.
Supported languages
Filevane's OCR uses Tesseract, the open-source engine originally developed at HP and later maintained with Google's support, compiled to WebAssembly so it runs in the browser. Recognition models are included for English, German, French, Spanish, Italian, Portuguese and Dutch. Choose the language the text is written in: the model includes the alphabet and accented characters for that language, and using the wrong one is a common cause of garbled accents.
The model for the chosen language is downloaded once, from Filevane's own server, the first time you run OCR — between about 0.7 MB and 3 MB depending on the language — and the browser caches it after that.
How to get accurate OCR results
OCR accuracy depends far more on the input image than on the tool. The Tesseract documentation on improving quality is the primary source here; in practice it comes down to five things.
- Resolution. Scan at 300 DPI. Below about 200 DPI small text breaks apart; above 600 DPI there is no gain and files get large. For a phone photo, fill the frame with the page.
- Contrast. Dark text on a light, even background. Shadows, coloured paper and faint photocopies cause most errors. Converting to grayscale and raising contrast often helps.
- Straightness. Text that is rotated or skewed by more than a few degrees is read poorly. Rotate the image first so the lines run horizontally.
- Cropping. Remove dark scanner borders, binding shadows and neighbouring pages. Edges full of noise produce strings of junk characters. Crop to the text.
- Language. Choose the correct one, as described above.
Handwriting
Tesseract is trained on printed text. Neat, separated, print-style handwriting can work with Handwriting OCR, but joined cursive and quick notes usually produce poor results. Expect to correct the output, and treat it as a faster way to transcribe rather than a finished copy.
Tables and columns
Multi-column layouts can come out with the columns interleaved line by line. If that happens, crop each column into its own image and recognise them separately. For tables, recognise first and then use Extract Tables from PDF on the searchable result.
Why run OCR in the browser instead of on a server?
The documents people OCR are disproportionately sensitive: scanned IDs, contracts, medical letters, bank statements, receipts with card details. A server-based OCR service has to receive the image to read it. The Filevane PDF upload audit found that 12 of the 13 measurable online PDF tools transmitted the full document.
Filevane's OCR runs entirely in the browser tab. The engine and language model come down to your device; your image never goes up. That direction is what matters, and it can be checked: the privacy proof page shows how to watch the Network tab while OCR runs and publishes the Content-Security-Policy that restricts where the page can send data. The trade-off is speed: a long scanned PDF is processed by your own device's processor, so a 50-page document takes noticeably longer on a phone than on a laptop.
The bottom line: check whether the document needs OCR at all, give the engine a straight, high-contrast 300 DPI image in the right language, and choose Searchable PDF when you want to keep the scan and PDF OCR when you want the words.
Tools used in this guide
Frequently asked questions
How do I know if a PDF needs OCR?
Try to select a sentence. If individual words highlight, the PDF already has a text layer. If the whole page highlights as one block, or nothing does, it is an image and needs OCR.
What resolution is best for OCR?
Scan at 300 DPI. Below about 200 DPI small text breaks apart, and above 600 DPI there is no accuracy gain.
Which languages does Filevane OCR support?
English, German, French, Spanish, Italian, Portuguese and Dutch. Choosing the language the text is written in matters, especially for accented characters.
Can OCR read handwriting?
Neat, print-style handwriting can work with Handwriting OCR. Joined cursive usually produces poor results, because the Tesseract engine is trained on printed text.