Extract text from PDF

Extract all the text from a PDF into a plain TXT file you can copy and edit.

or drag and drop files here

Your files are processed on this device and never uploaded.

Extract text from a PDF for free and get a plain TXT file you can copy, search and paste anywhere. Add the PDF, and the words on every page are read out in order and saved as text, without fonts, colors or images. It works on a phone or a computer with no app, no account and no watermark. The text is read on your own device, so the document is never uploaded to a server.

Why extract text here

Plain TXT output

Get the words alone, with no fonts, colors or layout. It opens in Notepad, Notes or any editor, and pastes cleanly into an email or a chat.

All pages in order

Text from every page is read from first to last and written into one file, with the page order kept.

Copy what a viewer will not let you

When selecting text in a PDF is awkward or breaks across columns, a clean text file gives you something to copy normally.

Easy to search and reuse

Search it, count words in it, quote it in a report or feed it to another program, without wrestling with the PDF.

Scans need OCR first

A scanned PDF is a picture of text, so there is nothing to read out. Run it through OCR first, then extract the text.

Read on your device

The text is taken out by your browser. The PDF and its words are not uploaded, so a private document stays private.

How to use 3 steps

  1. 01

    Select or drop your PDF into the box above.

  2. 02

    Wait a moment while the text is read from every page.

  3. 03

    Click "Extract text" and download the TXT file.

How do I extract text from a PDF?

Drop your PDF into the box above and wait a moment while the pages are read. Then click “Extract text” and download the TXT file. It holds the words from every page in order, ready to open in Notepad, TextEdit or any editor. Your original PDF is not changed.

The output is deliberately plain. There are no fonts, colors or pictures, only text, which makes it small, easy to search and easy to paste into another document. If you need the layout as well, PDF to Word or the original file is the better path.

Tip: Open the TXT in a word processor and use find and replace to clean up stray line breaks. Text from a narrow column often breaks after every line, and one replace fixes it.

Why can’t I copy text from my PDF?

There are three usual reasons. The most common is that the PDF is a scan, which is a photograph of the page and contains no text at all. Nothing can be selected because there is nothing to select. The fix is OCR, which reads the picture and turns it into real text.

The second is a permission lock. Some PDFs allow viewing but block copying. If you know the password, the Unlock tool removes it, and then you can extract the text. The third is a strange font encoding, where the text can be selected but pastes as unreadable symbols. In that case, OCR on a rendered page is often the cleanest way out.

What does the extracted text look like?

You get the words in the order they appear on each page, with a line break wherever the PDF breaks a line. Paragraphs usually come out as short lines, and a table becomes rows of text with the cells run together. Page headers, footers and page numbers appear where they were printed, because they are text too.

That is normal for PDF extraction. A PDF stores each piece of text at a position on the page and has no real notion of a paragraph or a table. The tool reads what is there and writes it out in sequence. For a thesis chapter or an article you want to quote, it works very well. For a complex spreadsheet-like table, expect to rebuild the columns by hand.

Is it safe to extract text from a PDF online?

Yes, because the PDF is not uploaded. You open the page online, but your browser reads the text on your own device. The document and the words inside it never go to a server, which suits contracts, medical reports and anything else you would not email to a stranger.

You can confirm it in the network tab of your browser while you extract a file. There is no request carrying your PDF. The TXT is created in your browser too and saved straight to your downloads.

Related tools

Questions answered

How do I extract text from a PDF?

Add the PDF above and click "Extract text". The words from all the pages are saved into a TXT file that you download. It is free, needs no account and adds nothing to your text.

How do I copy text from a PDF that won't let me?

First check whether it is a scan, which holds a picture and not text. If so, use OCR. If the PDF has real text but a lock, open it with Unlock if you know the password, then extract.

How do I convert a PDF to TXT?

That is what this tool does. The result is a plain text file with only the words, in reading order. It has no formatting, and tables and columns become lines of text.

How do I get text from a scanned PDF?

A scan is only an image, so run it through the OCR tool first to make the text readable by a computer. Then extract it here or use the text OCR produces.

Will the text keep its layout?

No. You get the words, not the design. Columns, tables, headers and footers come out as lines of text, so you may need to tidy them. For a document you want to keep editing, PDF to Word is closer.

Can I extract text without uploading the PDF?

Yes. The extraction runs in your browser on your own device, so the PDF is never sent to a server. Free, with no sign-up.