Free · Private · In-Browser

PDF to Text Extractor — Pull Selectable Text from a PDF

Open the converter

This PDF to text extractor pulls out the selectable text from a PDF and writes it to a plain .txt file. Everything happens inside your browser using pdf.js, so the document content never leaves your device — important when the PDF contains confidential information.

Extracting PDF text is the first step in countless workflows: feeding a document into an LLM, searching across a stack of contracts, building a quick word count, copying a quote without typing it out, or auditing a paper for citations. PDF viewers let you select text manually, but for anything longer than a page that quickly becomes tedious.

The tool reads each page through pdf.js, walks the text layer, joins runs of glyphs in reading order, and concatenates the result with page breaks. The output is plain UTF-8 text with no formatting — no bold, no headings, no tables — because those concepts do not exist in the underlying PDF text layer.

This will not OCR a scanned PDF. If your PDF is a series of page images (typical of scanned receipts or older documents), the tool will return empty or near-empty text. For scans, you need a real OCR pipeline first.

Frequently asked questions

Will my PDF be uploaded?

No. Text extraction is done by pdf.js inside the browser. The document is not sent anywhere.

Does this work on scanned PDFs?

No. Scanned PDFs are images of text, not selectable text. They need OCR, which this tool does not perform.

Is formatting preserved?

No. The output is plain text. Bold, italics, headings, tables, and columns are not preserved because they do not exist in the PDF text layer.

Can I copy the extracted text to clipboard?

Yes. After conversion, a "Copy text" button appears alongside the download.

What is the file size limit?

25MB per PDF on input. The text output is typically a few KB to a few MB.

Related tools

Files stay on your device. No login. Installs as a PWA on iPhone, Android, and desktop.
← Back to Free File Converter