ocr
How to Copy Text from a Scanned PDF
On this page

Knowing how to copy text from a scanned pdf is something most people discover they need at the worst possible moment — when a deadline is close and the document you need to quote or edit is completely locked as an image. This guide explains why that happens and gives you concrete steps to fix it.
Key takeaways
- A scanned PDF stores pages as images, so there is no text layer to select or copy.
- OCR (optical character recognition) creates that text layer by analyzing the image.
- A browser-based tool is enough for most everyday documents.
- Desktop software makes more sense for large batches or sensitive files that must never leave your machine.
- Scan quality directly affects how accurate OCR output will be.
- You can stop at a searchable PDF or go one step further and export to Word, plain text, or another editable format.
Why you cannot just select text in a scanned PDF
When a physical document is scanned, the scanner takes a photograph of the page. That photo is bundled into a PDF container. The file looks like a document, but it contains no characters — only pixels. A PDF viewer has nothing to select, so click-and-drag produces no highlight.
A PDF created directly from Word, Excel, or a browser is different. Those files carry a real text layer that viewers can search and select immediately. If you are unsure which type you have, press Ctrl+F (or Cmd+F on Mac) and try to search for a word you can see. No results means the file is image-based and needs OCR.
How OCR solves the problem
OCR software examines each pixel region, identifies letter shapes, and outputs actual characters. The result can be:
- A searchable PDF — the original image is preserved, but an invisible text layer is placed on top so you can select and copy.
- A converted document — the text is extracted into Word, plain text, CSV, or another format for direct editing.
Accuracy depends heavily on scan quality. A straight, well-lit, 300 DPI or higher scan of a clean printed page will produce near-perfect results. A crumpled, low-light phone photo will introduce more errors and may need manual cleanup.
Method 1 — Use a browser tool (fastest for most people)
This approach requires no software installation and works on any operating system.
- Open your browser and go to the OCR PDF tool on PDFtoAll.
- Upload your scanned PDF. Guest users can process files up to 25 MB and up to 3 OCR pages per job without creating an account. Free accounts raise the file limit to 50 MB and allow up to 10 OCR pages.
- Choose your output. Select Searchable PDF if you want to keep the original layout and just gain the ability to copy text. Select a document format such as Word if you want a fully editable file.
- Select the language of the document. Matching the language improves character recognition, especially for accented letters and non-Latin scripts.
- Click Convert and wait for processing to finish.
- Download the result. Open it and use Ctrl+A or click-and-drag to select the text, then Ctrl+C to copy.
If your document is already a clear, sharp scan, the browser tool produces reliable output in under a minute. For longer documents — up to 200 OCR pages per job — a premium account is needed.
When to use the browser tool
- One-off documents or small batches
- Files under 500 MB (premium limit)
- Documents you need processed immediately without installing anything
- Shared or work computers where installing software is not practical
Method 2 — Convert to an editable Word document
If you need to rewrite, reformat, or heavily quote from the document, converting to Word is more practical than copying from a PDF viewer.
- Use the OCR PDF tool and choose Word (.docx) as the output format. Alternatively, upload directly to the PDF to Word tool, which applies OCR automatically to image-based pages.
- Download the .docx file.
- Open it in Word or Google Docs.
- Select and copy any text you need, or edit the document directly.
Formatting in the Word output follows the original layout as closely as possible, but complex multi-column layouts or heavily styled pages may need minor cleanup.
Method 3 — Export to plain text
When you only need the raw words — for pasting into a database, feeding into another application, or importing into a script — plain text is the cleanest option.
- Go to the PDF to Text tool.
- Upload your scanned PDF. OCR runs automatically on image-based pages.
- Download the .txt file.
- Open it in any text editor, select all with Ctrl+A, and copy with Ctrl+C.
Plain text strips all formatting, so tables, columns, and special layouts will appear as linear text. This is expected behavior, not an error.
Method 4 — Clean up the scan first for better results
If your scan has skewed pages, dark borders, or background noise, running a cleanup step before OCR improves accuracy noticeably.
- Upload your file to Clean Up Scanned PDF. This tool straightens pages, removes dark edges, and improves contrast.
- Download the cleaned file.
- Feed that file into OCR PDF as described in Method 1.
This two-step approach is especially useful for older documents, fax printouts, or anything scanned at an angle.
Method 5 — Desktop software (for sensitive or very large batches)
Some workflows require that files never leave the local machine — legal documents under NDA, personal medical records, or confidential financial data. In these cases, a locally installed OCR application is the appropriate choice.
Popular desktop options include Adobe Acrobat, ABBYY FineReader, and open-source tools like Tesseract (command-line). The general process is the same:
- Open the scanned PDF in the application.
- Run the OCR function (often labeled "Recognize Text" or "Make Searchable").
- Save the resulting searchable PDF.
- Open it and copy text as normal.
Desktop tools are also practical when you are processing hundreds of files in an automated pipeline, because they can be scripted or batched without upload/download cycles.
Browser tool vs. desktop software — quick comparison
| Situation | Recommended approach |
|---|---|
| Single document, no sensitive data | Browser tool |
| Up to 50 pages, occasional use | Browser tool (free account) |
| Confidential files, must stay local | Desktop software |
| Hundreds of files in a batch pipeline | Desktop software or scripted OCR |
| Need result in under two minutes | Browser tool |
Improving copy accuracy after OCR
Even good OCR can misread certain characters — a capital I and a lowercase l look nearly identical in some fonts, and zero versus the letter O is a classic confusion point. After copying text:
- Paste into a word processor and run spell check to catch obvious substitutions.
- Pay extra attention to numbers, proper nouns, and technical terms, which spell checkers may not flag.
- If the source document has tables, check that column alignment survived the conversion.
Next steps
Once you have extracted the text you need, you may want to continue working with the document. You can convert the result to other formats — for example, use PDF to Excel if the scanned page contained a table with data you want to manipulate, or use PDF to Word for full document editing. If you want to share a cleaner version of the original scan, Clean Up Scanned PDF can improve its appearance before you send it on.
Frequently asked questions
Why can't I select any text when I click on my PDF?
Your PDF is almost certainly a scanned image rather than a native digital document. The file contains a photograph of each page rather than actual characters, so there is nothing for the PDF viewer to select. Running OCR on the file creates a text layer that makes selection and copying possible.
How do I know if my PDF is scanned or has real text?
Press Ctrl+F (or Cmd+F on Mac) and search for any word you can clearly read on the page. If the search returns no results and you can see the word on screen, the file is image-based and needs OCR before you can copy text from it.
Will OCR work on a PDF scanned in a language other than English?
Yes. The OCR PDF tool supports multiple languages. When you upload your file, select the document's language from the options provided. Choosing the correct language significantly improves character recognition, particularly for letters with accents or scripts that differ from the Latin alphabet.
How many pages can I process with OCR on a free account?
A free account allows up to 10 OCR pages per job and processes files up to 50 MB. Guest users (no account) can process up to 3 OCR pages per job on files up to 25 MB. For documents up to 200 OCR pages per job, a premium subscription is required.
Is it safe to upload confidential documents for OCR?
PDFtoAll processes files securely and removes them from servers after a set retention period — 1 hour for guests, 24 hours for free accounts, and 7 days for premium accounts. However, if your document is subject to strict confidentiality requirements or legal restrictions on cloud processing, using locally installed desktop OCR software is the safer choice, as the file never leaves your machine.
The copied text has errors and garbled characters. What should I do?
OCR accuracy depends on the quality of the source scan. For best results, try cleaning up the scan first using the Clean Up Scanned PDF tool, which corrects skew, removes noise, and improves contrast. Then run OCR again on the cleaned file. If the original scan is very low resolution or heavily degraded, some manual correction after copying may still be necessary.
Ready to try it?
OCR PDF runs in your browser, no account needed to start.