Convert PDF to text

Take every word out of a PDF and save it as a plain text file you can search, quote or paste anywhere.

How to convert PDF to text

Converting a PDF to text keeps the words and drops everything else: no fonts, no pictures, no layout. Copying from a PDF reader often breaks lines in the middle of sentences or picks text up in a strange order; this tool rebuilds each line from where its words sit on the page and writes the pages out one after another, so the result reads top to bottom the way the page does.

  1. Choose a PDF file, or drop a PDF onto the tool above.
  2. Leave Mark where each page starts on to put a line such as --- Page 3 --- before each page, or turn it off for one continuous text.
  3. Select Convert to text. The text file is checked, then saved to your device.

When to use it

  • Quoting a passage from a report or a judgment without retyping it.
  • Searching a long document with a text editor, or comparing two versions of it.
  • Giving the words of a document to a program that only reads plain text.

An example

A two-page statement becomes statement.txt: --- Page 1 --- and the heading, then one line per row of the table, such as 2026-09-03 Grocery shop -42.15 957.85, then --- Page 2 --- and the price list. 357 characters of text in the PDF, 357 in the file.

The settings

Mark where each page starts
On, each page begins with a line such as --- Page 3 ---, so a passage can be found again in the PDF. Off, the pages run on, separated only by a page-break character most editors show as a blank line.

What happens to your document

  • One text file named after your PDF, such as report.txt, in UTF-8, which every current editor opens with accents and other alphabets intact. Your PDF is not changed.
  • Lines are rebuilt from the position of the words on each page and read top to bottom, left to right.
  • Fonts, sizes, bold, pictures, links and the shape of tables are not kept: a table row becomes one line with its entries separated by spaces.
  • Checked before you get it. The saved file is read back and every character of text in the PDF must be in it, page after page in the original order, with nothing added except the page lines you asked for. If the check does not pass, nothing is offered.

Good to know

  • Pages that are pictures, such as scans, have no text to take out. A PDF made only of scans is refused rather than saved as an empty file, because this site does not recognize words inside pictures.
  • Two columns side by side come out as single lines running across both columns, because the lines are read straight across the page.
  • Text is saved as the PDF records it. A document that draws its letters as shapes, or stores them with a private encoding, can give text that is missing or garbled; reading it in a PDF reader and copying the same passage shows whether that is the case.

Why it is better on your device

The words, without the document. The text is read out of your PDF on your device, so a contract or a medical letter can be quoted or searched without handing the whole file to anyone. Your files never leave your device.

Questions

Frequently asked questions

How do I convert a PDF to a text file?

Choose your PDF and select Convert to text. Every word of every page is saved, in reading order, in a .txt file named after your PDF.

Why does my scanned PDF give no text?

A scanned page is a picture of paper, so it holds no text to take out, only pixels. Recognizing the letters in a picture is not something this site does.

Will tables keep their columns?

Not as columns. Each row becomes one line with its entries separated by spaces. To keep rows and columns, use PDF to Excel, which puts each entry in its own cell.

Is the formatting kept?

No. A text file has no fonts, sizes or bold, so only the words come across. To keep headings and bold in an editable document, use PDF to Word.

Which tool do you need?

Guides on this