How to Extract Text from a PDF (and Why Some PDFs Have None)

Published 2026-11-12

Sometimes you need the words from a PDF rather than the PDF itself: to quote a paragraph, run a word count or paste into an email. Copying by hand from a viewer can be messy, especially across several pages.

Text PDFs and scanned PDFs

A PDF made from a Word or Google document contains real text that can be selected and extracted. A PDF made by scanning paper contains pictures of pages. They look like text, but a computer cannot read them without text recognition, also called OCR.

How to extract

Open an extraction tool, choose the PDF and run it. You get the text page by page in reading order, together with a word and character count. Copy it or save it as a plain text file.

What may look different

Tables, columns and footnotes may not come out in the same order as on the page, because PDFs store positions rather than paragraphs. Formatting such as bold text, colours and images is not kept. Some PDFs that use special fonts, including some Sinhala documents, can produce garbled characters when copied.

A quick test

Open the PDF and try to select one word with your mouse. If you can highlight it, the file has text. If you cannot, it is a scan.

Try our free PDF to Text tool →

← All guides