Extract Text From PDFs, Including Scans
Pull the text out of a PDF in your browser. Pages that already contain text are read directly; scanned pages are recognized with on-device OCR.
- Free to use
- No account required
- Files processed locally
Extract Text From PDFs, Including Scans
Was this tool helpful?
Good to know
- Useful for
- Getting editable text out of scanned letters, receipts and printed forms, or quickly copying the text layer of a digital PDF.
- Accepts
- One unencrypted PDF, up to 25 MiB (about 26.2 MB) and 50 pages. OCR (Automatic or forced) handles up to 20 selected pages per run; text-only extraction can cover all 50.
- Produces
- Text grouped by page with the method used for each, plus a UTF-8 file named like report-extracted-text.txt with a separator line per page
Privacy
Your PDF, page images and extracted text stay in your browser. Nothing is uploaded or saved; only the OCR engine files and, for PDFs that don't embed their fonts, pdf.js font and character-map data are downloaded from this site and may be cached by your browser.
Limitations
- Automatic mode uses a page's existing text when it has at least a few letters or digits, and OCR otherwise. A scan with a small or partial hidden text layer may be read from that layer — use “OCR all selected pages” if the text looks incomplete.
- OCR estimates text from page images and may make mistakes. Results depend on scan resolution, sharpness, orientation, lighting, print quality, language and layout. Handwriting isn't reliably recognized.
- Recognition is English only for now. Other languages may come out garbled; the text isn't translated.
- Reading order of multi-column pages, tables, sidebars, footnotes and rotated text isn't reconstructed, and table structure isn't preserved.
- Pages are rendered at about 200 DPI for OCR. Very large pages are scaled down to stay under 12 megapixels, which can reduce accuracy; small images aren't upscaled.
- Password-protected PDFs aren't supported, and protection isn't bypassed. The output is plain text, not a searchable PDF.
- The first OCR run downloads the recognition engine and English data (about 7 MB) from this site, so it takes longer than later runs.
Tips
- Try “Extract existing text only” first for digital PDFs — it's fast and usually more faithful than OCR, though spacing, line breaks and reading order can differ from the page.
- For scans, straight, high-contrast pages scanned at 300 DPI recognize best.
- Compare important text against the original before relying on it.
How to extract text from a PDF or scan
- Choose a PDF (up to 25 MiB, about 26.2 MB, and 50 pages) and check its name, size, page count and preview.
- Pick all pages or type a range such as 1, 3, 5-8.
- Choose a mode: Automatic, Extract existing text only, or OCR all selected pages.
- Click Extract text and follow the page-by-page progress.
- Review the text for each page, then copy a page, copy everything or download a .txt file.
Frequently asked questions
What's the difference between extracting text and OCR?
Extraction reads the PDF's existing text layer without any image recognition, while OCR recognizes text from images of the pages and can introduce recognition errors. Extraction is generally faster and more faithful to the existing text, but spacing, line breaks and reading order may differ from the PDF, and broken or unusual font mappings can produce wrong characters. Digital PDFs usually have a text layer; scanned pages are only pictures, so they need OCR.
Which extraction mode should I choose?
Automatic suits most files: it uses a page's existing text when the page has at least a few letters or digits, and OCR otherwise. Extract existing text only is fastest and skips OCR for digital PDFs; OCR all selected pages helps when a scan has a small or partial hidden text layer and the text looks incomplete.
Which languages can the OCR recognize?
English only, for now. Text in other languages may come out garbled, and the text isn't translated. Existing-text extraction isn't limited to English, because it reads the text stored in the PDF rather than recognizing it.
How accurate is the OCR?
It depends on the scan: resolution, sharpness, orientation, lighting, print quality, language and layout all affect the result. Pages are rendered at about 200 DPI for recognition and very large pages are scaled down to 12 megapixels; handwriting isn't reliably recognized. For best results use straight, high-contrast pages scanned at 300 DPI, and check important text against the original.
Can I extract text from only some pages?
Yes. Pick all pages or type a range such as 1, 3, 5-8. You can select up to 50 pages for text-only extraction, but OCR (Automatic or forced) handles up to 20 selected pages per run.
What do I get as output?
You get the text grouped by page, with the method used for each page, which you can copy page by page or all at once, or download as a UTF-8 .txt file with a separator line per page. Multi-column reading order and table structure aren't reconstructed, and the output is plain text, not a searchable PDF.
How large a PDF can I extract text from, and is it uploaded?
You can open one unencrypted PDF of up to 25 MiB (about 26.2 MB) and 50 pages, and it never leaves your browser. The first OCR run downloads the recognition engine and English data (about 7 MB) from this site, so it takes longer than later runs. Password-protected PDFs aren't supported, and protection isn't bypassed.
Related PDF tools
Related guides
- 7 min readHow to Extract Text from a Scanned PDF and Check the ResultExtract text from digital and scanned PDF pages in your browser, see which pages used OCR, and check names, dates and amounts against the original before you rely on them.
- 5 min readHow to Merge PDF Files Without Uploading to a ServerMerge PDFs in your browser in the order you choose. Nothing is uploaded, but bookmarks, page labels and form fields don't carry over.
- 6 min readHow to Extract Selected Pages from a PDFExtract PDF pages in your browser: how ranges like 1-3, 7 work, physical vs printed page numbers, and why one page can be nearly as big as the whole file.

