PDF to Text
Pull the text out of a PDF as a plain .txt file you can copy, search or paste anywhere.
Your file is ready
🔒 Files stay in your browser. For secure storage and sharing, consider Proton Drive (affiliate link).
About PDF to Text
Get the words out of a PDF to quote, translate, search, or paste into another app or an AI assistant, without sending a confidential document to anyone. Preview the text, copy it, or save it as a .txt file.
How to extract text from a PDF
- Drop a PDF into the box, or click it to choose one.
- Leave the page field empty for the whole document, or type the pages you want.
- Click “Extract Text”.
- Copy the text from the preview or click “Save .txt File”.
Everything happens in your browser; nothing is uploaded. Very large files (over ~100 MB) can be slow on phones.
Frequently asked questions
Is my PDF uploaded to extract the text?
No. TrustPDF runs entirely in your web browser using JavaScript. Your file is read and processed on your own device and is never sent to a server. The site's Content-Security-Policy does not allow the page to send anything to any other site, and you can check the open-source code on GitHub.
Why is no text found in my PDF?
The PDF is probably a scan, which contains pictures of pages rather than text. Scans need OCR (optical character recognition) to become text.
Is the layout kept?
The text is extracted line by line in reading order. Tables and columns become plain lines of text, without formatting.