PDF to Text
Extract all text from a PDF, page by page, and copy it or download it as a .txt file. Scanned pages without a text layer can be read with OCR in 14 languages. Everything runs in your browser, so documents stay private.
Your files never leave your device.
Good to know: OCR downloads the Tesseract engine and language data (a few MB) on first use, takes a few seconds per page and reads up to 60 pages per run. Handwriting and low-quality scans give poor results.
How to use the PDF to Text
- 1Choose a PDF file — its text layer is read instantly.
- 2If some pages are scans, pick the text language and press “Read … pages with OCR”.
- 3Copy the text or download it as a .txt file.
What is the PDF to Text?
The tool first reads the text layer stored in the PDF. Line breaks follow the PDF’s layout, so text from multi-column documents may need light clean-up.
Scanned PDFs contain pictures of text rather than text. For those pages the tool renders each page at 200 dpi and runs OCR (optical character recognition) with Tesseract — the same open-source engine as Image to Text — right in your browser. Pages read this way are marked “(OCR)” in the output.
In-depth guide
Why PDF Text Extraction Comes Out Empty or Jumbled (and Fixes) →Frequently asked questions
Why is the extracted text empty?
The PDF is probably a scan (an image). Use the OCR button that appears below the file to read those pages, choosing the language of the text.
How accurate is the OCR?
Very good for clean, printed scans at a normal size; weaker for handwriting, low-resolution photos, tables and decorative fonts. Always proofread important text.
Is the PDF to Text free and private?
Yes. The PDF to Text is free, needs no account, and processes your files entirely in your browser. Files are never uploaded to a server or stored.
Related tools
All pdf tools →- Image to Text (OCR)Extract text from images and screenshots.
- PDF to JPGConvert PDF pages to JPG images.
- Word CounterCount words and characters instantly.
- PDF Metadata ViewerView and edit PDF title, author and properties.
- Find and ReplaceFind and replace text, with regex support.
- Merge PDFCombine multiple PDF files into one.
