PDF to Text

Choose a PDF and the text of all pages appears below, ready to copy or download. The document is read in your browser and is not uploaded. There is no OCR for scans.

Everything happens in your browser. Your files are never uploaded.

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose or drop a PDF.
  2. Wait for the progress count to finish; the text appears in the box.
  3. Press Copy or Download .txt. Tick the page-mark box if you want page separators.

How it works

The tool asks pdf.js for the text items of each page and joins them, adding a line break wherever the PDF marks the end of a line. Pages are separated by a blank line. The download is UTF-8 and named after the PDF with the extension .txt.

Example

A 2-page PDF with the words “Hello” on page 1 and “World” on page 2 gives Hello, a blank line and World; with page marks it starts with --- Page 1 ---.

Tips

  • Text copied from PDFs often has hard line breaks in the middle of sentences; the find and replace tool can join them.
  • If the text looks garbled, the PDF probably uses a custom font encoding that does not map to normal characters.

Frequently asked questions

Why is the result empty?

The PDF probably holds scanned pages or photos of text. Those are pictures, not text, and this tool has no OCR (text recognition). You would need an OCR program first.

Is the layout kept?

Only roughly. Text is read in the order stored in the file and line ends are kept where the PDF marks them, but columns, tables and headers can come out in an odd order or run together.

Can I tell which text is from which page?

Yes. Tick Mark each page and a line such as --- Page 2 --- is put before every page.

Is my document uploaded?

No. The text is extracted in your browser with pdf.js.

Why does it refuse my file?

Password-protected and damaged PDFs cannot be processed. Each file can be up to 100 MB.

More in PDF

All tools in this category: PDF ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.