Scanned PDF to Text
Extract text from a scanned PDF with OCR. Pick the language and pages, then copy the text or download it as a .txt file. Runs entirely in your browser; your file is never uploaded.
Input
Extracted text
Upload a scanned PDF and press Extract text. Each page is read with OCR in your browser, then you can copy the text or download it as a .txt file. Your file is never uploaded.
Also available with
Guides
What this does
Pulls the text out of a scanned PDF, the kind where every page is really a photo and you can't select or copy anything. Each page is rendered and read with OCR (optical character recognition), and you get plain text you can copy or download as a .txt file. Everything runs in your browser, so the PDF is never uploaded.
How to use it
- Upload your PDF.
- Pick the document's language. OCR is much more accurate when it knows which alphabet and words to expect.
- Optionally limit the pages, e.g.
1-3, 5. - Press Extract text, then copy the result or download it as a .txt file.
Mixed PDFs are handled
Many PDFs mix typed pages with scanned ones. With Use the PDF's own text switched on, any page that already has real text is read directly instead of going through OCR. That's faster, and the text is exactly what the author typed. Turn it off to force OCR on every page, for example when the existing text layer is garbled.
Tips for better results
- Clean, straight scans read best. Skewed pages, faint print and handwriting lower accuracy. The confidence score shows how sure the OCR engine was.
- Large documents take time. Each page is read in turn on your device; expect a few seconds per page.
- Layout isn't kept. You get the text in reading order, not the columns, tables or fonts.
Related tools
Want a PDF you can search and select text in, rather than a text file? Use [Scanned PDF Converter](/tool/scanned-pdf-converter/). If your PDF already has selectable text, [PDF to TXT](/tool/pdf-converter/pdf-to-txt/) extracts it instantly. For a photo or screenshot, use [Image to Text Converter](/tool/image-to-text-converter/).