Extract Plain Text from PDF

Extract raw text content from PDF documents instantly.

How to convert a PDF to text

  1. 1

    Add your PDF

    Drop the document into the box above. Contracts, reports and statements all work, as long as they contain real text.

  2. 2

    Let the text be extracted

    Every page is scanned for embedded text content, which is pulled out in document order along with the page breaks between sections.

  3. 3

    Copy or download the result

    Take the plain text into a document, a spreadsheet, a search index, or anywhere else you need the words rather than the layout.

Real text versus a picture of text

This one distinction explains almost every unexpected result. A PDF can contain text in two completely different ways. A document exported from Word, Google Docs, InDesign, or an accounting system contains real, selectable characters, and extraction reads them directly with perfect accuracy. A document produced by a scanner or a phone camera contains a photograph of a page — to your eye it looks identical, but to software there are no characters in the file at all, only pixels.

The quick test takes a second: open the PDF in any viewer and try to select a sentence with your cursor. If a text selection highlights the words, extraction will work perfectly. If the whole page highlights as a single block, or nothing highlights at all, the file is a scan and text extraction will return little or nothing — not because the tool failed, but because there is no text there to extract.

Scans are not a dead end; they just need a different step first. Optical character recognition looks at the image, identifies the letter shapes, and produces real text from them. Run PDF OCR over the document and you get the text out as a file you can copy, edit or search.

What you gain, and what the layout costs you

Plain text is the format that everything else can consume. Extracting it lets you search a long document properly, count or analyse its contents, paste passages without dragging formatting along, feed the words into another application, move content into a system that cannot read PDFs, or make an inaccessible document readable by a screen reader.

The trade is structure. A PDF does not store paragraphs and columns the way a word processor does; it stores glyphs at fixed coordinates on a page. Extraction reassembles those into lines as faithfully as it can, but design that depends on position tends not to survive. Multi-column pages can interleave, tables usually flatten into runs of values that lose their row and column relationships, headers and footers repeat at every page boundary, and hyphenated line breaks can split words in two.

Two habits make this painless. Expect to tidy the output rather than use it raw — stripping repeated headers and rejoining hyphenated words takes moments once you know to look. And if what you actually need is the table rather than the prose, extract the text to locate the data, but copy the table itself from the PDF viewer, where column structure is usually better preserved.

What happens to your files

PilotPDF does not keep copies of your original files, completed files, passwords, or document contents after processing.

Read our privacy policy for details about analytics and data handling.

Frequently Asked Questions

Choose your PDF above and press Start Extraction. The text appears on the page, ready to copy or download as a .txt file.
The PDF is most likely a scan or a photo of pages. It holds pictures of letters rather than real text. Run it through PDF OCR first, which reads the letters and turns them into text.
No. You get plain text only. Fonts, images and colours are dropped, columns can run into each other, and tables become rows of values.
Each page starts with a marker line such as "--- Page 3 ---", so you can find your place in the original.
Line breaks inside a page are not kept. The words on each page are joined with spaces. Paste the text into an editor and add paragraph breaks where you need them.
Yes, when the PDF contains real text. The .txt file is saved as UTF-8, so accents and other scripts stay intact. A few PDFs use fonts that hide which letters they contain; those come out as odd symbols, and PDF OCR is the way around it.
Not directly. Remove the password with Unlock PDF first, then extract the text from the unlocked copy.
No. Long documents take a little longer, and the button shows how far the extraction has got.