Convert a scanned PDF to text
Convert a scanned PDF to text you can paste into an email, a document or a spreadsheet. You get the text of each page you select in a plain text file, and the scan never leaves your device.
- 🔍 Searchable text
- 🔒 No upload
- 🎁 Free, no sign-up
How to extract text from a scanned PDF
Add the scanned PDF and choose its language under Languages.
Type the pages you need under Pages, or leave the field empty for all of them.
Select Create searchable PDF.
Download recognized-text.txt and open it in any text editor.
Why can't I copy text from a scanned PDF?
You cannot copy text from a scanned PDF because the page is stored as an image. The scanner took a picture of the paper, so the file contains only pixels. To copy text from a scanned PDF, the letters first have to be recognized with OCR, which turns the picture of the words into real characters.
What the extracted text file looks like
recognized-text.txt is a plain UTF-8 text file, so accented letters such as é, ñ and ö are stored as they were recognized and the file opens in any editor. It holds one block per selected page, in the order you selected them, with an empty line between the blocks.
Each block starts with a marker, so you always know which page a passage came from. That helps when you quote from a long document or need to check a word against the scan.
- --- Page 3 --- is followed by the text that OCR recognized on page 3.
- --- Page 7 (existing text) --- is followed by text that page 7 already had, taken from the PDF and joined into one block without the original line breaks.
- [No text recognized] appears under a page where the engine found nothing, such as a blank or very faint page.
Convert a scanned PDF to text and a searchable PDF in one run
When you convert a scanned PDF to text here, you also get a searchable copy of the PDF from the same run. The text file is handy for pasting. The PDF is handy when you want to keep the original look and still search it later. Both come from the same recognition, so they contain the same words.
The third file, ocr-report.json, is a short summary. For every selected page it shows the status, the number of characters found and a confidence value from the engine. In a long document, a low confidence or a very low character count points you to the pages worth reading carefully.
| File | Use it for |
|---|---|
| recognized-text.txt | pasting text into emails, documents and spreadsheets |
| the PDF with -ocr in the name | keeping the scan as it looks and searching it later |
| ocr-report.json | finding pages that need a closer look |
What happens to layout, tables and handwriting
Plain text has no layout. The words follow the reading order the engine detects, and tables are not rebuilt, so a table turns into lines of words without a grid. For an address, a paragraph or a quote that is fine. For a big table, plan to tidy the result.
The engine is made for printed text, and there is no handwriting mode. Handwritten notes and signatures usually come out wrong or are left out of the text file.
If a passage looks wrong in the text file, find its page marker and compare it with the scan. Words that sit across a fold, under a stamp or next to a picture are the usual places where the text breaks up.
Get the text from a scanned PDF longer than 40 pages
One run recognizes up to 40 pages, so a longer scan takes several runs. Type a new range under Pages for each one, such as 1-40, then 41-80. Pages skipped because they already have text still count toward the 40.
Each run gives you its own recognized-text.txt with only the pages in that range. Rename each file when you download it, for example pages-1-40.txt, so the next run does not get mixed up with it. The page markers show where each part belongs when you paste the files together.
Other ways to extract text from a scanned PDF
Several programs you may already have can pull text out of a scan. Each one gives you the text in its own format, and none of them gives you a searchable PDF.
| Method | How | What to know |
|---|---|---|
| Google Drive | right-click the PDF, Open with, Google Docs | files up to 2 MB, result is a Google Doc, tables and columns are often lost |
| Microsoft Word | File, Open, choose the PDF | Word converts the PDF to a document, handwriting is rarely recognized |
| OneNote | right-click the image, Copy Text from Picture | works on images and printouts inserted in a note |
| Windows Snipping Tool | take a screenshot, then Text actions | copies text from a screenshot, not from a whole PDF file |
Your PDFs stay with you
Most online OCR tools upload your documents to their servers. This one does not. The text recognition runs inside your browser, so your PDF and its text never leave your device. Once the text engine and a language are loaded, it even works without internet.
More tools on this site
Scanned PDF to text FAQ
What if my PDF has both typed and scanned pages?
The typed pages are not run through OCR. Their text is taken from the PDF and marked (existing text), and the scanned pages are recognized as usual. Both end up in the same text file.
Do I also get a searchable PDF?
Yes. The run that converts a scanned PDF to text also gives you a searchable copy of the PDF and a short report. If every page already had text, you get the original PDF back unchanged.
How accurate is OCR on a poor scan?
Lower than on a clean scan. Check the confidence for each page in ocr-report.json and read the low-scoring pages against the scan.
Can Google OCR a PDF?
Yes. Google Drive can open a PDF of up to 2 MB as a Google Doc with the recognized text, but the file is uploaded to Google.
Can I get the text from a scanned PDF into Word?
Copy it from recognized-text.txt and paste it into Word. The text comes without the original layout.
Can OCR read handwriting in a scanned PDF?
Rarely well. The engine is made for printed text, so handwriting usually comes out wrong or is left out.