Sneaky Peek AI

Loading your experience...

How to Extract Text from a Scanned PDF: 5 Free OCR Methods

Extract text from a scanned PDF with five free OCR methods. Compare editable text, searchable PDFs, and tools that process files on your computer.

To extract text from a scanned PDF, run it through an OCR tool. OCR stands for optical character recognition. It reads the letters in a picture of a page and turns them into words you can search or copy. For a short scan you want to edit, try Google Drive. To keep the original pages in a searchable PDF, try PDF24 or NAPS2. For a private document, use a desktop tool and save the output locally.

First, open the PDF and try to select a sentence on one of the pages you need. Paste it into a plain-text editor. If the words come through correctly, that page already has text you can extract. If your cursor selects the page like a photo, or the pasted result is empty or scrambled, try OCR. Check a few pages. A PDF can contain a typed cover page followed by image-only appendices.

Decision guide showing when to extract existing text and when to run OCR

Five ways to extract text from a scanned PDF

These methods differ most in what they give you back and where they process the file. An editable Google Doc is handy when you need to rewrite the words. A searchable PDF is handy when page numbers, signatures, stamps, and the look of the original matter. A plain-text file is handy when the words are going into notes or another program.

1. Google Drive and Google Docs for a short scan you want to edit

Upload the scan to Google Drive on a computer. Right-click the file, choose Open with, and select Google Docs. Review the text in the new document and copy what you need, or download it as plain text from the File menu.

Google recommends a file of 2 MB or less, upright pages, and readable text. Its help page says lists, tables, columns, and footnotes are unlikely to carry through reliably. A one-page typed letter is a good fit. For a table of expenses, use the extracted text as a starting point and check every row against the scan. The file is uploaded to Google Drive, so use this route for documents you are allowed to store there. Google Drive help

2. PDF24 for a searchable PDF in the browser

Open PDF24's PDF OCR tool, choose the file and the language, then select Start OCR. Download the searchable PDF and use your viewer to find or copy the passage you need. The tool also offers controls for straightening crooked pages and rotating pages.

PDF24 processes files on its servers and says it deletes the files and results no later than an hour after their last use. It describes the online tool as free and available without registration. This is useful for a public report or a handout when you want to keep the scanned pages and skip installing software. PDF24 PDF OCR

3. NAPS2 for local OCR with a desktop app

Open NAPS2, choose OCR, and download the language you need on first use. Turn on Make PDFs searchable using OCR, import the existing scan, then save a new PDF. Open that copy in a PDF viewer and copy the recognized text from there.

The free desktop app is available on Windows, macOS, and Linux. On import it leaves pages with existing text alone and applies OCR to pages without text, which suits files assembled from scans and digital originals. If a page already has a poor text layer, try another method for that page. NAPS2 saves the result as a searchable PDF. For a TXT file, copy the result into a text editor and save it there. NAPS2 OCR guide ยท NAPS2 downloads

4. OCRmyPDF for local processing and a separate text file

If you already use a terminal and have OCRmyPDF installed, the following command makes a searchable copy and writes the newly recognized words to a separate file.

ocrmypdf --skip-text --sidecar recognized.txt scan.pdf searchable.pdf

The --skip-text option leaves pages with existing text alone. The sidecar is the separate TXT file, and it contains text from pages that OCR ran on. For a file that mixes digital pages with scans, extract text from the finished PDF if you need both sets of pages in one result. OCRmyPDF also documents options for rotating pages, straightening slightly tilted scans, and choosing installed recognition languages. OCRmyPDF cookbook

5. Adobe Acrobat online for a searchable download with sign-in

Upload a scanned PDF to Adobe's online OCR tool. Acrobat applies text recognition and returns a PDF you can search, or use to highlight and copy recognized words. Adobe describes the OCR step as free and says to sign in to download or share the result. If you already use Acrobat online and only need a searchable copy, this is a familiar option.

The online workflow processes the file on Adobe servers. Adobe says the file is deleted unless you sign in to save it. If you just need one paragraph, you can copy it from the searchable copy into your own notes without paying for a PDF editor. Adobe Acrobat online OCR

What to check before using the result

Keep the original scan and open the new copy beside it. Search for a name or phrase from the middle of the document, then paste a paragraph into a text editor. A search hit shows the word was recognized. The pasted paragraph tells you whether the words come out in a useful order.

Check figures against the scan if you plan to reuse them. A faint decimal point or a zero read as the letter O can change a reference number, date, or total. For a two-column page, copy each column separately if the output mixes lines from both. If the scan is crooked, rotate or straighten it before retrying. If you can rescan the original, NAPS2 recommends 300 dpi for recognition. NAPS2 OCR quality tips

Frequently asked questions

Can I convert a scanned PDF to text for free?

Yes. Google Docs can turn a short scan into an editable document. NAPS2 and PDF24 can make searchable PDF copies that let you select and copy the words. OCRmyPDF can also save a separate text file with the OCR results.

Does OCR keep the original formatting?

A searchable PDF usually keeps the scanned page visible and places recognized text behind it. Copying that text into a TXT file drops visual formatting. Tables, columns, and footnotes may also need cleanup in an editable document. If someone needs to see exactly how the original was laid out, share the searchable PDF or keep it beside the edited copy.

Why does a PDF to text converter give me a blank result?

Look at the page and try selecting a line. A scan can show words on screen while storing them only as pixels. Run OCR to add a selectable text layer, then try extracting again. Check that the result includes a page from the middle of the file as well as the first page.

When the PDF already has selectable text

If your file already has a usable text layer, PDF to Text by Sneaky Peek AI can turn it into plain text you can copy or download. Guests can use free daily credits, with one credit per file. The tool accepts PDFs up to 10 MB and 20 pages.