PDF to Text – Extract Text from a PDF
Download the text already in the PDF as a .txt file.
- 1Upload
- 2Options
- 3Process
- 4Download
Drop a file here, or browse.
PDF only · processed in your browser
PDF to Text copies the words out of a PDF into a plain .txt file. It reads the text layer that the PDF already has, page by page, in reading order, so you can search it, paste it into notes or an email, feed it to a script, or quote a contract without retyping. Fonts, columns, and tables are not rebuilt; you get clean text you can reformat. It works on PDFs exported from Word, Google Docs, a browser, or a design app, where you can already select text with the mouse. A scanned page is only a picture, so it has no text to copy; the page tells you so instead of saving an empty file. PDF.js reads the file in this browser tab, so the PDF is not uploaded. To make a PDF from a .txt file, use TXT to PDF.
This tool is free to use.
Files stay on this device.
How to extract text from a PDF
- Open the PDF in any viewer and check that you can select a word with the mouse. That means it has a text layer.
- Add the PDF here. It is read in this browser tab, not uploaded.
- Press the button to extract the text. Each page is read in order.
- Download the .txt file.
- Open it in a text editor, then copy what you need or search it with Ctrl+F.
PDF to text questions
How do I extract text from a PDF?
Add the PDF and extract. The text of every page downloads as one .txt file, in the order the PDF stores it.
Why did it say there is no text?
The PDF is a scan or a photo: each page is a picture of text, not text. You can check by trying to select a word in a PDF viewer. If you cannot, there is nothing for this page to copy.
Is the layout kept?
No. A .txt file has no fonts, columns, or tables. You get the words with line breaks, ready to paste and reformat.
Is my PDF uploaded?
No. PDF.js reads the text layer inside this browser tab. Nothing is sent to a server.
Does it work on password-protected PDFs?
Unlock the file first with Unlock PDF if you know the password, then extract the text from the unlocked copy.
Can I extract text from only a few pages?
Take those pages out with Split PDF first, then extract the text from the smaller file.
What about Arabic, Russian, or other scripts?
Text in any script is copied as long as the PDF stores it as real text. The .txt file is saved as UTF-8, which every modern editor opens.
Page guide updated 2026-11-12