PDF Text Extractor

Read selectable text from one PDF, page by page. Choose every page or a selection, then copy the result or save it as a plain-text file.

A quiet, local workflow for notes, accessibility checks, and quick document searches. No server receives your PDF.

PDF text extraction workspace

Drop a PDF here or choose a file
One PDF at a time · processing stays in this browser

Preview

—
Choose a PDF to preview its first page.

The preview is rendered locally with PDF.js.

Extract text

Text is grouped with a page heading so you can trace it back to the source.

Local-only. Your PDF and extracted text stay in this tab. PDF.js 3.11.174 is loaded from jsDelivr only after you choose a file. PDF.js is available under the Apache-2.0 license.

A focused PDF text workflow

This tool extracts the text layer that a PDF exposes; it does not run OCR on scanned images. For a scan with no selectable text, the result may be empty even though the page looks full.

What happens in the page

Text is read through PDF.js: the file is parsed once with getDocument(), and for every page you selected the tool calls getTextContent() and joins the returned items, inserting a line break wherever the PDF marks an end-of-line and a space between runs that continue on the same line. Pages are separated by a --- Page N --- heading so you can see where the extraction jumped, and the whole result lands in the textarea, ready to copy to the clipboard or download as a plain .txt file named after the source document. Switching to selected-page mode reveals a checkbox per page, which is the quickest way to pull just a table of contents, an invoice body or one chapter out of a long report. The small preview above the output always renders page 1 to a canvas so you can confirm at a glance what kind of document you are dealing with before running anything.

Where it breaks down

Extraction only reads a text layer that already exists. A scanned page has none, so the output is empty even though the page looks full of words — there is no OCR here, and the status line tells you when nothing was found. Reading order comes from the PDF's internal item order, so multi-column layouts and tables can interleave, and hyphenated line breaks stay hyphenated. Ligatures, custom encodings and symbol fonts occasionally produce stray characters. Very large documents are slow because every page is parsed in the tab, page selection applies per page, and the output is UTF-8 text with no formatting, bold or italic information.

Privacy: no data leaves this tab

The document is parsed by PDF.js inside this tab from an in-memory byte array; the extracted text never leaves your machine either, since there is no server to send it to. PDF.js and its worker are the only external download, fetched once when you first open a file.

Frequently asked questions

Why is the extracted text empty?

Because the PDF has no text layer — it is a scan or an image export. You can confirm it in the page-1 preview: if the words are pixels, nothing can be selected. Use the PDF-to-image tool and run the images through OCR separately.

Can it keep the original layout, columns or tables?

No. You get a plain text stream in the PDF's internal reading order, which is usually top-to-bottom and left-to-right but can interleave two-column pages. Numbers and headings are preserved; spacing, tables and font styling are not.

What is the preview above the output for?

It renders page 1 into a small canvas so you can see immediately whether the file is a digital document or a photograph of one. The preview is display-only — it is never part of the exported text.