How to Copy Text out of a PDF (and Why Some PDFs Give Nothing)
Sometimes you only need the words from a PDF. Whether that works depends on one thing: does the file contain text, or only pictures of pages? This guide shows how to tell, how to extract the text, and what to do when there is none.
Two kinds of PDF
A PDF can be made in two ways. A "text PDF" is saved from a program such as Word, a browser or a reporting tool. It stores letters as text with a font, so you can select and search it. A "scanned PDF" is made from a scanner or camera. Each page is a picture, and the words are only pixels. A quick test: open the PDF and try to select a single word with the mouse, or press Ctrl+F and search for a word you can see. If selecting works, it is a text PDF.
Extract the text with the tool
- Open PDF to Text and choose your file.
- If you only need some pages, type them in the Pages box, for example 2-4.
- Press Extract text. The text appears in the box.
- Press Copy text, or Download .txt to keep it as a file.
Nothing is uploaded, so confidential reports can be processed on your own device.
What the result will and will not look like
The text comes out in the order it is stored in the file, which is not always the reading order. Paragraphs are often broken at the end of every line, because many PDFs store each line separately. Tables are read cell by cell or row by row, depending on how the file was made, so columns can be mixed. Headers, footers and page numbers appear as ordinary lines. Expect to tidy the result: join broken lines, delete page numbers and check numbers against the original. If it contains many line breaks you do not want, Text Cleaner can remove them.
When the result is empty
If the tool reports that no text was found, the PDF is a scan. There are three honest options: retype the parts you need, ask the sender for the original Word or Excel file, or use a program with OCR (optical character recognition), which turns the picture of letters into text. OCR is not part of this tool, and OCR results always need proofreading, especially for names and numbers. For Urdu and other right-to-left scripts, check the result carefully, because some PDFs store those letters in a form that cannot be decoded correctly.
Copyright and sensitive files
Extracting text does not change who owns it. Use text from other people's documents only in ways you are allowed to, and quote the source. For personal files such as bank statements or ID copies, working in the browser means the file is not sent to a server.
Related tools and guides
Frequently asked questions
Can I extract text from a scanned PDF?
Not with this tool. A scan holds pictures, so you need OCR software or the original file.
Why are my lines broken in odd places?
Many PDFs store text line by line. The tool shows them as stored.
Is my file uploaded?
No. It is read in your browser.
Read the Privacy Policy and Terms of Service before using the service.