Skip to content
DoItJag

Extract Text from PDF

Pull the selectable text out of a PDF so you can copy, search or edit it. Download it as a plain .txt file.

or drop a file here · PDF · up to 200 MB

Processed on your device. Your files are not uploaded.

About Extract Text from PDF

This tool reads the text stored inside a PDF and shows it as plain text that you can copy or download as a .txt file. It works on PDFs made from word processors, spreadsheets, websites and most software that exports to PDF, because those files contain real characters.

Copying from a PDF viewer is awkward: selections jump between columns and long documents take many rounds of select and copy. Extracting everything at once gives you the words in one place, ready to search, quote or paste elsewhere.

When to use it

  • You need to quote several paragraphs from a report without retyping them.
  • You want to search a long manual or contract in a text editor.
  • You want to count the words in a PDF with Word Counter.

Worked example

Take a 3-page invoice in which page 1 holds “Invoice 2041” and the line “Total due: EUR 1,250.00”, page 2 is a scanned image, and page 3 says “Payment within 30 days.” With page markers switched on, the result is:

--- Page 1 ---
Invoice 2041
Total due: EUR 1,250.00

--- Page 2 ---

--- Page 3 ---
Payment within 30 days.

The summary reports 51 characters, not counting spaces, and notes that no text was found on page 2, because a scanned page contains no text.

Good to know

  • Scanned pages are photos of paper. Reading them needs OCR (optical character recognition), which this tool does not do. If no page has text, the tool tells you.
  • You get plain text only. Fonts, images and tables are not kept, and multi-column layouts may come out in a different order than you read them.
  • The .txt file is saved as UTF-8, so accented letters and other scripts stored as text are kept.
  • Type a range such as 5-9 to read only some pages.
  • Locked files must first go through Unlock PDF. To save pages as pictures instead, use PDF to JPG.

How to use Extract Text from PDF

  1. Choose the PDF.
  2. Optionally enter the pages to read and choose whether to mark where each page starts.
  3. Select Extract text, then copy the result or download it as a .txt file.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server.

Frequently asked questions

Why is no text found in my PDF?

The PDF is probably a scan: each page is a photo of paper, with no text inside. Reading text from images needs OCR, which this tool does not do; use OCR PDF for scans.

Is the layout kept?

No. You get plain text, line by line. Columns, tables and headers may come out in a different order than you read them on the page, and fonts, images and formatting are not kept.

What encoding is the .txt file?

UTF-8, which keeps accented letters and other scripts that the PDF contains as text.