Searchable PDF 3 min read
How to copy text from a scanned PDF without uploading it
You can't copy text from a scanned PDF because each page is a picture of the text, not the text itself. To copy it, run OCR first: it reads the letters in the picture and adds them to the PDF as an invisible text layer. After that, you can select and copy the text in any PDF viewer, as in a normal document.
I made Searchable PDF, a free tool that adds that layer in your browser. The PDF never leaves your device, which matters for the papers people scan most: IDs, contracts, medical reports and tax forms.
How to copy text from a scanned PDF
- Open searchable-pdf.tukka.dev.
- Drop in the scanned PDF, or a photo or screenshot of a page (PNG, JPEG or WebP).
- Start the OCR. It works through the file one page at a time and shows its progress.
- Download the new PDF and open it in your usual viewer.
- Select the text with your cursor, or press Ctrl+A (Cmd+A on a Mac), and copy it.
The first time, your browser downloads the OCR engine and its English model and keeps them, so later files start sooner. This post explains what the text layer is and how the tool builds it.
Paste it into Word or Google Docs
The copied text follows the lines of the page, so a long paragraph often comes out as several short lines. In Word, a quick fix is to paste, then use Find and Replace to turn the extra line breaks into spaces. Headings and lists may need retyping, since OCR reads words, not formatting.
Copying a table into Excel
OCR reads the words in a table but not its columns, so a pasted table usually lands in one column. For bank and card statements, Statement to CSV reads the rows and columns and gives you a spreadsheet file instead, also without uploading anything.
Getting good results
OCR is only as good as the scan:
- It reads printed English. Handwriting and other languages won't come out right.
- Clear, straight scans work best. Faint or blurry pages give more mistakes, so check names and numbers before you rely on them.
- Files can be up to 50 MB and 150 pages.
- Password-protected and digitally signed PDFs need an unlocked, unsigned copy first.
- A page that already has selectable text is skipped whole.
Other ways to do it
Google Drive can also read the text in a scan: right-click the file in Drive, choose Open with, then Google Docs. The file has to be uploaded to Google, it should be 2 MB or smaller, the text needs to be at least 10 pixels high, and tables and columns usually aren't kept (Google). For a private document, or a file over 2 MB, a tool that works on your device is the safer choice. This guide shows how to check whether any PDF site uploads your file.
Questions
Why can't I select text in my PDF?
The PDF holds an image of each page, made by a scanner or a phone. There's no text in it until OCR adds some.
Is Searchable PDF free?
Yes. There's no account and no limit on how many files you convert.
Will the PDF look different afterwards?
No. The page images stay as they were, and the text layer is invisible. You can search, select and copy, and the pages look the same.
Can I convert the scan straight to a Word file?
Searchable PDF gives you a searchable PDF, not a Word file. Copying the text into Word, as above, works for most documents.
Make your scan copyable at searchable-pdf.tukka.dev.