PDF to Text
Pull the text out of a PDF — read its text layer, and fall back to OCR for scanned or image-only pages — then copy it or download a .txt. Everything happens in your browser; your PDF never leaves your device.
Drop a PDF here, or
One PDF. Read in your browser — nothing is uploaded.
Auto reads the text layer and runs OCR only on pages that have little or no text.
Extract text from a PDF without uploading a thing
Add one PDF and this tool reads the text out of it and hands you plain text you can copy or save. Everything runs on your device: the pdf.js library that reads the PDF loads from this site — never a third-party server — the first time you open a file, so you can open this page, disconnect from the internet, and it still works. There is no account, no watermark, and no page cap. Most PDFs carry a real text layer — the selectable text behind the page — and pulling that back out is fast and exact. When a page has no text layer, because it is a scan or an image, this tool can recognise the text from the picture instead, using on-device OCR.
There are three modes. Auto reads the text layer of every page and quietly falls back to OCR only for pages that come back with little or no text — the right choice for most files. Text layer only skips OCR entirely: it is instant, and it is honest about scanned pages, returning them empty rather than guessing. OCR all pages forces recognition on every page, which is the one to reach for when a PDF's built-in text is garbled or wrong and you would rather trust the picture. You can also read the whole document or just a range of pages, such as 1-3, 5, 8-10.
A word on OCR
OCR — optical character recognition — reads text out of an image of a page, so it is approximate rather than exact. It handles clean, straight scans well and struggles with faint print, handwriting, heavy layout, or skew, so treat OCR output as a strong draft to proofread rather than a perfect copy. The OCR engine is a one-time download of roughly 22 MB that loads only the first time a page actually needs it — open a normal digital PDF and it is never fetched at all. For now the OCR recognises English only; other scripts will come back rough. Recognising a page takes a few seconds, so a long scanned document in OCR mode is not instant — the progress line tells you which page it is on.
Copy or download
The extracted text appears in a box, split page by page with a --- Page N --- heading before each one so you can see where each page starts. Copy text puts the whole thing on your clipboard; Download .txt saves it as a plain text file named after your PDF, like document.txt. Pages that were read by OCR are marked with an OCR badge above the box, so you always know which text came from the reliable text layer and which was recognised from a picture.
What stays on your device
The reading, the rendering, and the OCR all run in your browser, using code this page loads from its own address. You can open your browser's network panel and watch: no PDF data leaves the machine. A password-protected PDF cannot be read without its password, so unlock it first and add it again; the tool says so plainly rather than failing quietly. The full source is public on GitHub under the AGPL-3.0 licence, and the privacy panel in the footer names every file this page can load and when.
Questions
- How do I extract text from a PDF without uploading it?
- Add your PDF and press Extract text. The reading runs in your browser using JavaScript this page loads from its own site. You can verify it: open your browser's DevTools Network tab while extracting — no PDF data leaves your device.
- Does it work on scanned PDFs?
- Yes. A scanned or image-only page has no text layer, so this tool recognises the text from the page image using on-device OCR. Leave the mode on Auto and scanned pages are OCR'd automatically; choose OCR all pages to force it on every page.
- How accurate is the OCR?
- OCR is approximate. It reads clean, straight scans well and struggles with faint print, handwriting, heavy layout, or skew, so proofread the result. It recognises English only for now; other scripts come back rough.
- Can I copy the text or download it as a file?
- Both. Copy text puts the whole result on your clipboard, and Download .txt saves it as a plain text file named after your PDF. The text is split page by page with a heading before each page.
- Are my PDFs uploaded to a server?
- No. Nothing is uploaded and no copy is kept. Your PDF stays in your browser's memory only while the page is open, and both the text extraction and the OCR run entirely on your device.
Related tools
PDF to JPG — turn PDF pages into JPG or PNG images. Merge PDF — combine PDF files in any order. Split PDF — extract pages or cut one PDF into pieces. Image to PDF — combine JPG, PNG, and WebP images into a single PDF. Photo Editor — crop, resize, redact, and batch-edit images.