Extract text from a PDF and copy or download as .txt. Per-page or full document.
PDF to Text Extractor extracts text from PDFs using PDF.js's page.getTextContent() API — joins text items per page, computes word/character/page stats, and offers per-page tabs, copy to clipboard, and .txt download.
Extract all text from a PDF instantly. View per-page text, copy to clipboard with one click, or download as a .txt file. Works on any text-based PDF. For scanned PDFs, use our PDF OCR Extractor instead.
Upload your PDF.
Text is automatically extracted on upload.
Browse pages individually or copy/download the full text.
Extraction uses pdfjs.getDocument().promise → page.getTextContent() → items.map(i => i.str).join(' '). Only works on text-based PDFs (those with selectable text). Scanned image-only PDFs return no text — for those, the PDF OCR Extractor uses Tesseract.js on rendered page canvases.
Scanned PDFs are images. They contain no extractable text. Use our PDF OCR Extractor instead — it uses OCR to recognize text in images.
Basic text spacing is preserved, but rich formatting (fonts, colors, columns) is lost. For full layout preservation, use a PDF reader.