How to copy text out of a PDF

Selecting text across forty pages by hand is miserable, and PDF selection rarely behaves. Taking the whole text out at once is faster.

Get the text
Whichever tool you use here, the file stays on your device. How that works

Step by step

  1. 1Add the PDF.
  2. 2Get the text, and it appears in one box.
  3. 3Keep the page markers if you need to know where each page started.
  4. 4Copy the lot, or save it as a plain text file.

Why some PDFs come out empty

Extract Text reads embedded characters from a PDF; it does not recognise letters in page pictures. If the output is empty, first check whether text can be selected in a reader.

For scans, use Image to text instead. Its current OCR language is English, and it can read image or PDF input locally. Review names, numbers and punctuation because recognition can make mistakes.

Extracted text does not preserve table structure or visual layout. Multi-column documents can produce an unexpected reading order. Compare important quotations and figures with the original page.

Cleaning up what you copied

The text arrives in the order the PDF stores it, with a line break wherever the PDF has one. That means sentences may be broken across lines and some words may be split with a hyphen. Paste it into an editor and use find and replace to tidy it before you use it.

Tables and columns are not laid out again, so a table becomes a run of values and a two column page can interleave. For a table, paste into a spreadsheet and separate the columns there. If the result is empty, the PDF is a scan and the words need Image to text instead.

Questions

Do you offer OCR for scans?

Yes, in Image to text. Extract Text is for existing PDF text layers.

Can I create a searchable PDF?

These text tools export or copy plain text; they do not add a searchable layer to the original PDF.

Why are there line breaks in the middle of sentences?

A PDF stores each line of text where it was placed on the page, not as paragraphs. The line breaks come with the text and need tidying in an editor.

Related jobs and next steps

How to get a PDF under 1 MBA form that will only take a 1 MB PDF, and yours is 8 MB.How to reduce a PDF size for emailReduce PDF attachment size locally, understand searchable-text trade-offs and check the saved file against the recipient's limit.How to combine scanned pages into one PDFScanned a document and ended up with separate files per page? Here is how to join them into one PDF on your own device.

Tools that help with this job

Get the text
PDF to JPGExport every page as an imageSplit PDFPull out pages or break one file apartMerge PDFCombine files into one, in any orderCompress PDFGet under an email or upload limit