Extract text from a PDF
Exports the document’s selectable text as a plain .txt file you can paste into an editor, diff, or feed to another tool. Great for pulling figures out of a report or reflowing a paragraph you need to rewrite.
- Clean plain-text output, one file for the whole document
- Every page marked so you can trace a quote back
- Reading order preserved for most documents
- No upload, no page limit, no account
How to extract text from a PDF
- 1
Drop the PDF in
The file is parsed on your device. Digital exports — word-processing documents, spreadsheets, generated reports — have a text layer; scans do not.
- 2
Check the preview
A short sample of what was found appears on screen, with the page markers in place. If nothing appears, the document almost certainly has no text layer.
- 3
Download the .txt
Press Extract text and the whole document arrives as one plain-text file named after the original. UTF-8, no headers, no watermarks, no limit on length.
Reading a text layer is not reading a page
A PDF is a list of drawing instructions, and a second list of strings that goes with them. That second list is why you can highlight a word in a reader, and it is the only thing this tool touches: it walks the stored strings, joins the pieces of a line, starts a new line where the document says one ended, and moves to the next page. Nothing is looked at as a picture, so nothing is guessed — which is why the result is exact for a document that was written electronically and empty for one that was photographed.
Because it is a copy of stored strings rather than a re-typesetting, the fidelity has limits worth knowing. Where a word sits on the page is used to break lines but not to rebuild columns, tables or figures. Special characters survive only as far as the producing software embedded them properly, and a document that used a private font without a unicode mapping can come out as nonsense even when it reads perfectly on screen.
Four things plain text does better than a PDF
Comparing versions. Two .txt files can be diffed side by side, which is the quickest way to see what actually changed between draft three and the one everybody is arguing about.
Checking what you are about to sign or publish. Search the text for a name, a clause number or a figure across a hundred-page document in seconds, in your own editor, with your own find-and-replace.
Feeding it onward. Word counts, concordance, spell-checking, translation, an outline for a rewrite — all of them want characters rather than a page image.
Long-term access. A .txt will still open in forty years on software that has not been written yet. If a document matters as content rather than as layout, keep the text next to the PDF.
PDF to Text — common questions
Why did my scanned PDF give empty text?
Camera scans are pictures of letters, not letters. The tool reads the text objects a PDF actually contains, and a scanned page contains none — so it refuses and tells you the file looks like a scan instead of returning a blank document. The PDF to JPG tool is what a scanned page needs.
Does it keep formatting and images?
No — .txt is deliberately plain. Bold, headings, tables, fonts, colours and images all fall away, because a plain-text file has nowhere to put them. If you need the page as it looks, export it as an image instead.
Can I edit the extracted text here?
Not here — the output is a file for you to open wherever you want. To put text back into a PDF, add it as a text box in the PDF editor, or rebuild the document in the CV maker, which both export real, selectable text.
Can I tell which page a line came from?
Yes. Each page is introduced with a marker line in the form — Page 7 — so quotations, figures and page references stay traceable. Those markers are the only structural thing the output keeps.
The preview looked short — is my file short too?
No. The on-screen preview is capped at roughly the first 2,800 characters so a long document does not freeze the browser; the .txt you download contains every page. Judge the download, not the preview.
Why did my two-column layout come out jumbled?
Because there is no layout analysis. Text comes out in the order the producing software stored it, which for a magazine spread or a sidebar can mean the columns interleave. Tables and multi-column academic text read best after the fact, not before.
Does OCR happen anywhere in this tool?
No. Optical character recognition is a heavy model that would have to run in your browser tab, and it is not part of this site. That is why a scanned page has nothing to extract even though a human can read it perfectly well.
Is my document sent anywhere to be read?
It is not. The file is parsed in the browser and the text is handed back to you as a download, which is the reason a contract, a manuscript or a statement can be processed here without a second copy existing on somebody else’s hardware.
Related free tools
- PDF to JPGExport pages as images
- JPG to PDFCombine images into a PDF
- Image to PDFPNG, WebP, GIF, BMP or TIFF
- Text to PDFTXT file to a paginated PDF
- Markdown to PDFMD to a formatted PDF
- CSV to PDFSpreadsheet export as a table
- All 41 toolsEvery tool is free and unlimited