PDF to Text

Turn the text inside a PDF into a plain text file you can open in Notepad or any editor. The PDF is read on your own device and is never uploaded.

Use the tool

Loading the tool…

About PDF to Text

Pull the text out of a PDF so you can copy it or save it as a plain text file. Choose all pages or selected pages, such as 1-3, 5, 8-.

Worked example

Choose a PDF with a report, extract all pages, and copy the text into a note.

Limits

Only text that the PDF contains can be extracted. Scanned pages without text will not produce any words, and the layout is not kept. If the PDF is protected, unlock it first. The file is processed in your browser and is not uploaded to us.

How to use PDF to Text

  1. Choose a PDF file, or drag it onto the box. The tool checks it and shows how many pages it has.
  2. Pick all pages or type the pages you want, for example 1-3, 5, 8-.
  3. Choose whether each page starts with a marker such as --- Page 3 --- or the text runs on continuously.
  4. Pick reading order or keep the page layout, and choose one file or one file per page.
  5. Press Convert to text and download the .txt file.

Good to know

  • Scanned PDFs and photographed pages contain pictures, not text. If no text is found, nothing is saved. Text recognition (OCR) is not available.
  • If the owner of a PDF has set it so that copying text is not allowed, this tool respects that and does not extract the text.
  • Copy settings are a request recorded inside the file, and they can only be read from encrypted PDFs. If a file's setting cannot be read reliably, the tool warns you and continues. Please only convert files you are entitled to copy.
  • Password-protected PDFs cannot be read here.
  • Columns, tables and headers are read in the order the PDF stores them, so layout may not match what you see on screen. Tables become plain lines of text.
  • Keep the page layout puts each piece of text at the column where it sits on the page, using spaces. It suits tables, code and forms. Ordinary paragraphs read better in reading order.
  • One file per page gives you a numbered .txt for every page, and the browser offers them together as a ZIP.
  • Joining hyphenated words only joins a hyphen at the end of a line followed by a lower-case letter, so real hyphens such as well-known are left alone.
  • Some PDFs use fonts that do not say which letters they draw. Their text can come out as odd symbols, and the tool warns you when it notices this.
  • If a PDF is damaged, the tool reads as much as it can and warns you that pages may be missing or wrong. Files over 25 MB are not checked for damage.

Frequently asked questions

Why did I get an empty result or a "no selectable text" message?

The PDF is probably a scan or a photo of a page. It contains pictures of letters, not text, so there is nothing to extract. This tool has no text recognition (OCR).

Why does the tool refuse some PDFs?

Some PDFs are saved with a setting that forbids copying text. The tool honors that setting and will not extract text from such files. Password-protected PDFs cannot be read either.

How do I keep my table lined up?

Choose "Keep the page layout". Each piece of text is placed at the column where it sits on the page, using spaces, so columns stay under each other. For a real spreadsheet, use the PDF to Excel tool instead.

Why does the text look different from the PDF?

A PDF stores where each piece of text is drawn, not paragraphs or tables. The tool puts the pieces back in reading order as well as it can, but multi-column pages and tables can come out in a different order.