How to extract text from a PDF
- Drop your PDF. Extraction starts the moment it lands.
- Preview the text. It appears right on this page, page by page.
- Copy it, or save a .txt. Whichever suits what you're doing next.
Digital PDFs vs. scans
Some PDFs are text wearing a page layout. Some are photographs of paper. The first kind, anything exported from Word, Google Docs, or a website, hands over its characters instantly. The second kind contains only pixels, and that's why extraction sometimes returns nothing. The giveaway is that you couldn't select the text in your viewer either. For those, OCR the scan first: it recognises the characters in the image and adds a real text layer, after which extraction works normally.
Why the order sometimes surprises you
A PDF does not store paragraphs. It stores fragments of text pinned to coordinates, and extraction has to guess the reading order back from the geometry. On a simple one-column document the guess is easy and the output reads exactly like the page. On a two-column academic paper, a newsletter, or anything with sidebars, fragments from different columns can interleave, and a table tends to come out row by visual row rather than as anything tabular. Headers, footers and page numbers arrive mixed into the flow too, because to the file they are just more text on the page. Why text copied out of a PDF comes out wrong walks through each of these failures and what fixes them.
What to do with the extracted text
Once the words are out of the PDF they stop being tied to a page layout and become usable: searchable across a folder of files, quotable without retyping, countable when a submission has a word limit (the word-count tool does that directly), pasteable into anything that takes text. When you want structure rather than a flat stream, the same extraction feeds the converters: Markdown keeps headings and lists for notes, Word for editing, HTML for publishing.
Common uses for extracting PDF text
- Copy text from a PDF: quotable text out of a document your viewer won't let you select.
- Reuse content: text you can paste into a doc, an email or a spreadsheet.
- Search a long PDF: the full text, in a form you can search anywhere.
Frequently asked questions
How do I get the text out of a PDF?
Drop the file above and extraction starts on its own, page by page. Read it in the preview, copy the lot to your clipboard, or save it as a .txt file.
Why did my PDF come back empty?
That's the signature of a scan. A scanned PDF holds photographs of pages, not characters, so there's nothing to extract. Run it through OCR first to give it a real text layer. Anything exported digitally, from Word or a browser or LaTeX, comes out fine.
Does the formatting survive?
You get plain text, with line breaks kept as faithfully as the file allows. PDFs don't store paragraphs, only fragments of text at set coordinates, so columns and tables can come out in a surprising order.
Is my document uploaded?
No. Extraction happens locally, which is what makes this usable on the contract or the draft you're not supposed to be pasting into a website.