Guide · 6 min read · Updated 2026-08-09

How to extract text from a scanned PDF

Read this first if a converter gave you an empty file. Scanned PDFs need OCR, and our tool deliberately does not pretend otherwise.

Drop your file hereor choose a file from your deviceAccepted: PDF

This file never leaves your browser.

The short versionOur converter does not do OCR, so it will not extract text from a scan. It tells you so instead of handing you an empty file. If your PDF is a scan, skip to the free OCR options below.

There are two completely different things people call a PDF. One contains text: real characters, with fonts and coordinates, that you can select with your cursor. The other contains a photograph of text: a flat grid of pixels that happens to look like writing. To your eyes they are identical. To software they have nothing in common.

Every ordinary PDF converter, including ours, reads the first kind. It walks the text objects the file already contains and writes them out. When you hand it the second kind, there are no text objects to walk, so there is nothing to extract. The tool is not broken and your file is not corrupt: the text you can see was never stored as text.

How to tell which one you have in five seconds

Open the PDF in any viewer and try to select a line of text with your mouse. If you get a normal text selection highlight that follows the words, you have a text PDF and a converter will work. If nothing highlights, or a translucent box covers the whole page at once, you have a scan.

A second check: press Ctrl+F (Cmd+F on a Mac) and search for a word you can clearly see on screen. A text PDF finds it. A scan reports no results, because there is no text to search.

Where scans come fromAnything that passed through a camera or a scanner glass: a photographed receipt, a signed contract sent back as a PDF, an old paper record, a fax. If a document reached you as an image at any point in its life, it is a scan.

What OCR actually does

OCR stands for optical character recognition. Instead of reading text the file already has, it looks at the shapes in the image and guesses which letters they are. Modern OCR is very good on clean, straight, high-resolution scans of ordinary printed text. It gets noticeably worse with handwriting, unusual fonts, low resolution, skewed pages, coffee stains, and dense tables.

This matters for your expectations: OCR output always needs proofreading. It is a very good first draft, not a faithful copy. Numbers are the usual trouble spot, because a misread digit looks perfectly plausible and will not be caught by a spellchecker.

Free ways to OCR a scanned PDF

  1. 1
    Try the tool already on your computerOn Windows, OneNote can OCR a pasted image (right-click the image, "Copy Text from Picture"). On macOS, Preview and even Quick Look let you select text directly on many images thanks to built-in Live Text — try selecting the text before assuming you need anything else. On iPhone and Android, the built-in camera or Photos app will usually let you select text in a picture.
  2. 2
    Use Google Docs, which OCRs for freeUpload the PDF to Google Drive, then right-click it and choose "Open with → Google Docs". Drive runs OCR during the conversion and gives you an editable document. This handles multi-page files and costs nothing. Do not use it for confidential material you are not willing to upload.
  3. 3
    Run Tesseract locally for private documentsTesseract is the long-standing open-source OCR engine. It runs entirely on your own machine, so nothing is uploaded. It is a command-line tool, so it is the least friendly option here, but it is the right answer for sensitive files: install it, then run "tesseract input.png output" for an image, or pair it with a PDF renderer for multi-page files.
  4. 4
    Check whether the sender has the originalThis is the step everyone skips and it is by far the best outcome. A scan is usually a printed copy of a file that started life as a Word document, an invoice from an accounting system, or an export from a database. One message asking for the original file saves you OCR errors entirely.
Improve your odds before you OCRIf you are scanning the paper yourself, scan at 300 DPI or higher, in grayscale rather than colour, and make sure the page is straight. Accuracy on a clean 300 DPI scan versus a crooked phone photo is not a small difference.

What if only some pages are scans?

Mixed files are common: a report generated as text with a signed page photographed and appended. Run our converter first. It extracts everything from the real text pages and skips nothing that exists, and the page count in the result tells you how much came through. Then OCR just the image pages and stitch the two together. That way you only proofread the pages that actually needed guessing.

If your PDF is not a scan

If the selection test showed real text, you are in the easy case and there is nothing more to think about. Our extractor runs in your browser, keeps the reading order and paragraph breaks, and never uploads the file.

Drop your file hereor choose a file from your deviceAccepted: PDF

This file never leaves your browser.

Frequently Asked Questions

Why does the converter say my PDF has no text layer?

Because it checked and found none. The file contains page images rather than text objects, which means it is a scan. We show that message instead of silently giving you an empty download.

Will you add OCR to this site?

It is on the roadmap but it is a genuinely different problem. OCR needs a recognition model in the browser, which is a large download and slow on long documents. We would rather point you to something that works today than ship a version that disappoints.

Is OCR accurate enough for legal or financial documents?

Treat it as a draft that must be proofread, especially for numbers. A single misread digit in an amount looks completely normal and will not be flagged by any spellchecker. For anything that matters, check the output against the original.

Does OCR work on handwriting?

Usually poorly. Standard OCR is built for printed type. Neat block capitals sometimes work; ordinary cursive generally does not.

Related Guides