PDF to text
Pulls the text out of a PDF without uploading the file anywhere.
Drop a PDF and its text appears below, ready to copy. The file is read by your own browser — it is never sent to a server, which matters when the document is a contract, an invoice or a medical report.
Runs entirely in your browser. Your text is never uploaded — open DevTools, Network tab, and you will see zero requests while you use this tool.
How to use it
- Drop the PDF onto the box above, or click to choose a file.
- Wait while each page is read — a long report takes a few seconds.
- Copy the text, or press Download .txt to save it.
What this tool does
Almost every PDF made from a Word document, a web page or a design tool carries an invisible text layer: the actual characters, with their position on the page. This tool reads that layer directly and reassembles it into lines. Nothing is recognised or guessed, so the result is exactly the text the author typed, including accented letters and non-Latin alphabets.
Pages are processed one by one and joined with a blank line between them, so you can still see where each page ended. Trailing spaces are trimmed, but words, punctuation and line order are left exactly as they were.
There is no page limit and no daily quota, because there is no server doing the work — the only limit is your device, and a 500-page report is fine.
Scanned PDFs are different
If a PDF was made by a scanner or a phone camera, there is no text layer at all — every page is just a picture of text. This tool will tell you so instead of returning an empty box, because that distinction is the single most confusing thing about PDFs.
For those files you need optical character recognition, which reads the shapes of letters out of the image. That is a different job with different trade-offs: it is slower, and the result always needs proofreading.
A quick way to tell before you start: open the PDF in any viewer and try to select a sentence with your mouse. If the text highlights, there is a text layer and this tool will work. If you only get a blue rectangle over the whole page, it is a scan.
Examples
| Source of the PDF | Has a text layer? | What you get |
|---|---|---|
| Exported from Word, Pages or Google Docs | Yes | Exact text, instantly |
| Printed to PDF from a browser | Yes | Exact text, plus page furniture like headers |
| Invoice from an accounting system | Yes | Exact text; table columns may interleave |
| Photographed or scanned pages | No | A warning that this is a scan |
| Slide deck exported to PDF | Yes | Text per slide, in reading order |
What usually goes wrong
- Two columns come out interleaved. A PDF stores position, not reading order, so a two-column layout can alternate lines between columns. Copying one column at a time from the viewer is more reliable for those.
- Table cells run together. Cells are separate text objects with no structural link, so a table flattens into lines. Expect to rebuild the table by hand.
- Words are split by hyphens. Text that was justified across a line break keeps the hyphen. A quick find and replace of "- " fixes most of it.
- Headers and page numbers repeat. They are real text on every page, so they come through. Sorting the lines and removing duplicates clears them quickly.
- The PDF is password protected. Encrypted files cannot be read without the password, and this tool does not attempt to bypass protection.
The output usually needs a tidy-up, and that is what the rest of this site is for: join the broken lines, collapse the leftover spacing, then drop the repeated headers.
Doing it without this tool
Adobe Acrobat and most viewers. Select all and copy. Works, but you get the whole document at once including page furniture, and long files are painful to select on a phone.
Word. Opening a PDF in Word converts it and often reconstructs the layout well — but it rewrites the text into its own structure and can change spacing and hyphenation.
Command line. pdftotext file.pdf out.txt from the poppler tools is the fastest option if you already have it installed, and it has a -layout flag that preserves columns better than most alternatives.
Online converters. Nearly all of them upload your file to a server, keep it for an hour or a day, and cap you at a few pages unless you pay. That is the difference here.
Privacy: the file never leaves your device
The PDF is read by your own browser using a local library. No upload happens, no copy is stored, and there is no queue on a server holding your document. Open your browser network panel while you convert and you will see the page fetch its own library and nothing else — your file is never among the requests.
This is the practical difference for anything sensitive: a contract, a payslip, a scan of an ID, a medical letter. Every mainstream online PDF converter processes those on their servers and asks you to trust a retention policy. Here there is nothing to trust and nothing to delete.
Related tools
Frequently asked questions
No. There is no server doing the work, so no quota to enforce — long reports are fine, they just take a few more seconds.
No, and it will tell you so. A scan has no text layer, only images of text, which needs optical character recognition instead.
Line breaks are preserved, but columns and tables are not reconstructed — a PDF stores positions rather than structure, so complex layouts flatten into lines.
No. The PDF is read entirely in your browser and never sent anywhere, which is why there is no size quota or waiting queue.
No. Encrypted files need the password to be readable, and this tool does not attempt to bypass document protection.
Pages built from images have no text layer and are skipped, and the tool tells you how many pages that affected.
Thirty megabytes, which covers almost any text document. Very large files are usually scans, which this tool cannot read anyway.