No upload, 100% local, no account

PDF → Text extraction

Extract all readable text from your PDF. Download as a .txt file. Everything stays in your browser, no file is sent to a server.

How PDF to text works

PDF to text extracts the text content embedded in a PDF and delivers it as a plain .txt file. It reads the character streams stored in the document, no OCR is involved, so the output is fast and exact for digitally-created PDFs where the text is already machine-readable.

If your PDF is a scanned image with no embedded text layer, use the OCR tool instead. For everything else, contracts, reports, ebooks, this tool pulls out the text instantly with pdf.js. Plain text has no layout model, so columns, tables and font sizes are not preserved; you get the reading order of the characters as stored in the PDF.

Frequently asked questions

Are my files uploaded to a server?

No. Your PDF's text is extracted by pdf.js, the engine Firefox uses to display PDFs, running in your browser tab. Each page's character streams are read into memory on your own device with getTextContent, assembled into plain text there, and the result is offered as a local .txt download. Nothing is transmitted to Sunasty or any third party. You can verify it yourself: open your browser DevTools, go to the Network tab, and watch, no request carries your file.

Will it work on a scanned PDF?

Only if the scanned document already has an embedded text layer (for example, one added by a prior OCR pass). A pure image-only scan contains no machine-readable text, so extraction would return an empty result, in that case, use the OCR tool on Sunasty to generate the text layer first.

Does it preserve page breaks and formatting?

Plain text has no layout model, so rich formatting, columns, tables, font sizes, is not preserved. What you get is the reading order of the text characters as they are stored in the PDF. Paragraph breaks are approximated but complex layouts may need manual tidying.

Does it work offline?

Yes, once the page has loaded. Because the processing happens on your device, you can disconnect from the network and the tool keeps working. This is the clearest proof that your data never leaves your machine.

Is it free? Do I need an account?

It is completely free and requires no sign-up. There are no watermarks, no daily limits and no tracking cookies needed to use the tool.