The quick answer

Open your PDF, click Extract text, and download one .txt file holding every page's text, with line breaks preserved and a --- Page N --- marker between pages; a 30-page PDF yields one file with 30 page markers. If the PDF is a scan, you get an honest warning instead of a silently empty file. It runs locally with pdf.js; the document never uploads.

How to extract text from a PDF

  1. Select your PDF

    Use the file picker or drag the file in. The page count is detected immediately.

  2. Extract

    Click Extract text. Pages are read in order ('Reading page 4 of 12'), joining each page's text with its own line endings.

  3. Read the result

    The text opens in an in-page preview, with --- Page N --- headers so you can find your bearings in long documents.

  4. Heed the scan warning

    If a PDF yields almost no text, the tool says so plainly: it's likely a scan, this tool does not do OCR, and the download holds whatever could be recovered.

  5. Download

    Save extracted.txt and paste it anywhere: a word counter, a spreadsheet, an AI chat.

What it does, and the digital-vs-scanned truth

A PDF contains either a real text layer (text drawn with fonts, as ISO 32000 defines it) or pictures of text, which is what scanners and camera apps produce. This tool reads the first kind, page by page, with pdf.js: that's why it finishes in seconds, why it works offline, and why it cannot read a scan. Reading pictures of text requires OCR, a different technology this tool deliberately doesn't pretend to have.

Worked example

Input

A 3-page PDF with a real text layer

Output

--- Page 1 ---
Quarterly summary...

--- Page 2 ---
Regional figures...

--- Page 3 ---
Signatures and notes...
What you getWhat you don't get
Every page's text in one .txt downloadOCR for scanned PDFs (you get a warning, not a guess)
Line breaks preserved from the layoutPage-range extraction (the whole document is read)
--- Page N --- markers between pagesWord, Markdown or other output formats
An honest warning when there is no text layerPassword-protected PDFs (they fail with an error)
Reading order follows the PDF's internal orderPerfect columns and tables (two-column pages come out linearized)
The honest feature contract of this extractor

Why an in-browser extractor matters

  • Text extraction means handing the whole document to a server at the big names: PDF Candy runs its auto-OCR in the cloud, and PDF24 and FreeConvert upload your file before deleting it one to eight hours later.
  • The common modern use is feeding text to a language model; extracting locally and pasting deliberately keeps the document out of yet another third-party system.
  • A text-layer PDF is read in seconds, offline, with the pdf.js engine already in the tab, so there is no upload queue and no processing wait.

Jobs this extractor handles every day

  • Students: pull quotes and citations from papers without retyping them.
  • Writers: lift a passage into an editor or word counter for rewriting.
  • Accountants: search invoice numbers across statements after a quick extract.
  • Analysts: extract the contract locally, then paste only the chosen text into an AI chat.
  • Archivists: turn a folder of text PDFs into .txt files a desktop search can grep.

Frequently asked questions

How do I extract text from a PDF for free?

Open the PDF here and click Extract text; the tool reads the text layer of every page and downloads a .txt file in seconds. It's free, requires no account, and the document never leaves your browser.

Why can't I select text in my PDF?

Because the page has no text layer: it's a picture of text, usually from a scanner or a camera app. Selecting, copying and extracting all fail the same way; only OCR can read pictures of text.

How do I extract text from a scanned PDF?

You need OCR, which this tool deliberately doesn't do. It extracts embedded text only and tells you plainly when a PDF has none. Run an OCR tool on the scan first, or check if the vendor who issued it offers a text version.

How do I extract text from a PDF without uploading it?

Use this page: pdf.js reads the document inside your tab and the network stays silent the whole time. Cloud extractors upload your file before returning text you could have had locally, and deletion runs on a clock (PDF24 after an hour, FreeConvert after eight).

Does the extracted text keep line breaks?

Yes. Each page's text items are joined following the PDF's own line endings, so paragraphs and lists survive far better than a wall of spaces. Perfect column and table layout isn't reconstructed; the reading order is the document's internal order.

Can ChatGPT extract text from a PDF?

It can, if you upload the file to it, which sends your document to that vendor's servers. For sensitive files, extract the text here locally and paste only the text you choose into the chat.

Can I extract text from only certain pages?

The tool reads the whole document, every page. For one section, download the .txt and delete the rest; the --- Page N --- markers make the cut points easy to find.

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.