PDF to Text
Extract the text from any text-based PDF in your browser: choose a file, press a button, and copy the result or download it as a .txt file. Scanned or image-only PDFs have no text layer to extract, and this tool does not perform OCR.
Files never leave your browser. Extraction runs locally on your device.
Drag and drop a PDF file here
One PDF file, up to 25 MB. Works on text-based PDFs only.
Honest scope: this tool reads the PDF’s embedded text layer. A scanned page is just a photo of text with no text layer, so there is nothing to extract. If that is your file, the tool will tell you plainly instead of returning an empty file.
Working…
Extracted text will appear here.
Need to get PDF to text without retyping the whole document? This free PDF to text extractor runs entirely in your browser: drop in a PDF, press “Extract Text”, and copy the result or download it as a .txt file. No signup, no watermarks, no uploads. Your file never leaves your device, because extraction happens locally with JavaScript on your own computer or phone.
There is one honest condition, and it is the most important thing on this page: this tool reads the PDF’s embedded text layer, which exists only in text-based PDFs. A scanned page is a photo of text with no text layer, so there is nothing to extract, and this tool will tell you that plainly instead of handing you an empty file or pretending. It does not perform OCR anywhere, and no page on this site will claim otherwise. If your PDF was exported from Word, Google Docs, a browser’s print dialog, or any normal software, it almost certainly has a text layer and this tool will work.
How to extract text from a PDF
- Choose your PDF. Click “Choose PDF” or drag and drop the file onto the drop zone. The tool verifies it is a real PDF (by reading the file’s magic bytes, not just its extension) and that it is under 25 MB.
- Press “Extract Text”. Pages are read one after another with a progress bar. Each page’s embedded text is pulled out in reading order.
- Review the result. The extracted text appears in a readout box with page separators like
--- Page 1 ---, plus a stats line such as “Extracted 211 characters from 2 of 2 pages.” - Copy or download. Press “Copy text” to put the whole result on your clipboard, or “Download as .txt” to save it as a UTF-8 text file named after your PDF (for example
report.txt). - If nothing is found, you will see a clear message saying the PDF appears to be scanned or image-only, with no text layer to extract. That is the tool working correctly, not failing.
What “text-based PDF” actually means
Nearly every PDF you meet falls into one of two kinds. A text-based PDF was created digitally: someone typed in Word or Docs and exported, or a browser printed a web page to PDF. Inside the file, alongside the drawing instructions, sits an invisible layer of actual characters, which is why you can select and copy text in your PDF reader. This tool reads exactly that layer.
A scanned or image-only PDF came from a scanner, a phone camera, or a fax: each page is just a picture. Your PDF reader cannot select its “text” because there is none, only pixels. Extracting words from such a page requires OCR (optical character recognition), which is a completely different technology that this tool does not include, on purpose: a bad OCR pass invents words, and an honest “no text layer found” beats a hallucinated transcript. If you are unsure which kind you have, try selecting text in your PDF reader. If you can highlight the words, this tool will extract them.
Worked example: a 2-page test PDF
Here is a real extraction run on a 2-page test PDF whose text we know exactly. Page 1 contains three lines (“Pixel File test document, page one.”, “The quick brown fox jumps over the lazy dog.”, “Numbers: 1234567890.”) and page 2 contains two (“Pixel File test document, page two.”, “Pack my box with five dozen liquor jugs.”). The tool returned all five lines byte-identically, separated by --- Page 1 --- and --- Page 2 --- markers, and reported “Extracted 211 characters from 2 of 2 pages.” The “Download as .txt” button then saved those same 211 characters as text-2page.txt in UTF-8 encoding, and the copy button placed the identical text on the clipboard. Nothing was added, nothing was dropped, and the stats line told the truth about what was found. We also verified the download path byte for byte: the saved text-2page.txt was compared against the on-screen text and matched exactly, all 211 characters in UTF-8, and the copy button placed the identical string on the clipboard. When a tool reports its own results, the numbers should come from testing the tool, not from hoping the code is right.
What happens with a scanned PDF
Feed this tool a scanned PDF and, after reading every page, it shows a message like this: “This PDF appears to be scanned or image-only: no text layer was found on any of its pages. There is no embedded text to extract, and this tool does not perform OCR.” No empty download, no fake output, no suggestion that something went wrong on your end. We verified this behavior with a real text-layer-less PDF: the message appeared, no output box was rendered, and zero errors were logged. If you need scanned pages turned into text, you need an OCR tool, which this is not, and we would rather lose the conversion than mislead you.
Text layer vs OCR: why the distinction matters
It is worth understanding why this tool draws such a hard line. Reading an embedded text layer is deterministic: the characters are stored in the file, so extraction is either exactly right or it finds nothing. OCR is probabilistic: software guesses what pixels look like, and even good OCR misreads characters, invents words in smudges, and mangles tables. A tool that silently ran OCR on your scan and presented the guesses as “extracted text” would hand you errors disguised as facts, which is worse than no text at all for contracts, citations, or records.
That is why the honest design is a clean split: this page extracts embedded text with perfect fidelity and refuses scans loudly, while OCR belongs in a dedicated OCR tool that shows confidence levels and lets you correct mistakes. If a converter ever gives you flowing text from a scanned PDF without mentioning OCR, treat its output with suspicion: either it ran OCR without telling you, or it fabricated the text. Neither is acceptable, and you will not find either behavior here.
Honest scope and limits
The output is plain text: bold, italics, tables, columns, and images do not survive. Multi-column layouts may read in an order that differs from the visual order, because the tool follows the PDF’s internal text order. Files are capped at 25 MB, and password-protected PDFs are refused with a clear message (unlock the file first). Text extraction quality depends on the PDF itself: a well-formed export gives clean text, while a PDF with a damaged or partial text layer may give partial results, in which case the stats line tells you how many pages yielded text. Again, and finally: no OCR, no scanned-image reading, no exceptions.

Frequently asked questions
Is extracting text from PDF free?
Yes. The extractor is completely free with no signup, no watermarks, and no page limits beyond the 25 MB file cap. Everything runs in your browser, so there is no server cost to pass on to you.
Why is no text extracted from my PDF?
Your PDF almost certainly has no text layer: it is scanned or image-only. Try selecting text in your PDF reader; if you cannot highlight the words, there is no embedded text to extract. The tool detects this and says so instead of returning an empty file.
Can this tool convert a scanned PDF to text with OCR?
No. This tool extracts embedded text only and does not perform OCR on scanned or image-only pages. Any page claiming otherwise would be misleading you; we state the limit plainly here and inside the tool.
Will formatting like bold, tables, and columns be preserved?
No. The output is plain UTF-8 text: styling, tables, and images are dropped, and multi-column pages may read in a different order than they appear visually. For layout-faithful conversion, export from the original document instead.
Is there a page limit?
No page limit is enforced; the constraint is the 25 MB file size cap, which keeps extraction fast and memory-safe on mobile browsers. Very long documents simply take a little longer as pages are read one by one.
Can I download the extracted text?
Yes. “Download as .txt” saves the full extraction as a UTF-8 text file named after your PDF (for example report.txt), and “Copy text” puts the same content on your clipboard for pasting elsewhere.
Are my PDF files uploaded anywhere?
No. Extraction runs locally in your browser with JavaScript on your own device. Your documents are never sent to a server, and the tool works offline once the page has loaded.
More free PDF and image tools
This text extractor is one of a set of free, private, in-browser utilities. PDF Converter is the multi-format conversion hub, PDF to PNG and PDF to JPG turn pages into images, Split PDF and Merge PDF rearrange documents, Compress PDF shrinks file sizes, and Image to PDF builds PDFs from images. Every tool follows the same rules: no signup, no uploads, your files never leave your device.
References
- Wikipedia: PDF — The PDF format explained
- Wikipedia: Plain text — Plain text explained