Pulls the text out of a PDF. The hard part is not finding the characters — it is working out what order they go in and where the paragraphs are, because a PDF records neither.
A PDF does not contain paragraphs
So extraction is reconstruction. Fragments are grouped into lines by their vertical position, sorted left to right, and joined with spaces inserted where the horizontal gap implies one. Lines are then grouped into paragraphs using the signals a typesetter actually leaves: a larger vertical gap, a short line followed by an indent, a line ending in a full stop.
The result reads as prose for a normal document. It reads less well for multi-column layouts, where the reading order genuinely is ambiguous from geometry alone, and for tables, where the visual structure is the meaning.
Choose raw layout for anything tabular
The same applies to source code listings, forms, poetry and anything where the line breaks carry meaning.
Scanned PDFs and what they really are
A born-digital PDF was made by software — exported from Word, generated by a report tool, printed to PDF. It contains real text with real font information, and it converts cleanly in every direction.
A scanned PDF is a photograph of a piece of paper wrapped in a PDF container. There is no text in it at all — only an image — regardless of how clearly you can read it on screen.
The difference decides what is possible. Rasterising works identically on both. Extracting text works only on the first, and a scan yields nothing at all — which is reported plainly rather than handing back an empty file.
When there is no text at all
Reading a scan requires OCR: recognising characters in an image. That is a genuinely different job and needs a language model of ten to fifteen megabytes per language, which is not something to download on the chance a visitor needs it. The practical route is to render the pages with the PDF to JPG tool and run those images through an OCR tool.
A mixed document — mostly digital with a few scanned pages inserted — extracts the digital pages and reports how many were empty.
What is lost
Plain text is the format that keeps the words and nothing else. That is usually the point.
Other names for this
Also searched as “extract text from pdf”, “pdf to text”, “copy text from pdf”.
Questions
- I got nothing back.
- The PDF is a scan — pictures of pages, with no text in them at all. Only OCR can read those; render the pages to images first and run them through an OCR tool.
- My table came out as a jumble.
- Switch the layout to “Keep the page’s line breaks”. Reflowing is right for prose and destroys tabular structure.
- The columns are interleaved.
- Multi-column layouts are genuinely ambiguous from geometry alone — nothing in the file says which column is read first. Extract page by page and expect to tidy the result.
- Words are split with hyphens.
- Those hyphens are in the source, inserted by the typesetter at line breaks. Undoing them reliably needs a dictionary, and guessing would join words that were genuinely hyphenated.
- Is my password safe to type here?
- It is used to decrypt the file inside this tab and is never sent anywhere. That is precisely the argument for this page: uploading a password-protected document and its password to a third-party server is asking them to hold both halves of the lock. Turn your Wi-Fi off before typing it if you want to be certain.
- Is my PDF uploaded?
- No. The rendering happens in this tab using pdf.js — the same engine Firefox uses to display PDFs. Contracts, medical letters, bank statements and legal filings are the documents this conversion is usually for, and none of them leaves your machine.
- Can I convert several PDFs at once?
- Yes. Drop as many as you like, or a whole folder. Each produces its own set of images, named after the original.