Extract text from PDFs and Word files
Updated 5 December 2026
PDF text is either there or it is not
Extract text from PDF reads the text layer with PDF.js and groups items into lines by their position on the page. A normal exported report yields paragraphs you can paste. A phone photo saved as a PDF yields little or nothing, and the tool says the text layer is missing. That is not a failed upload. There was no upload, and there is no recognition step.
Turn on page headings when you need to cite a page. Turn them off when you want a cleaner paste into the word counter. Columns and tables can come out in a surprising order because the file stores positions, not a single reading stream. For a picture of the page rather than the words, use PDF to images.
Word is a different container
DOCX to text and DOCX to HTML use Mammoth on a .docx file. The text tool drops formatting. The HTML tool keeps headings, lists and simple tables, previews them in a sandbox, and downloads a standalone page. Older .doc files are refused. Save as .docx first. Text boxes and some headers may be skipped, and Mammoth’s notes are counted in the result when that happens.
Choose text when you are quoting or counting. Choose HTML when the structure still matters and you will restyle it yourself. Neither tool reproduces Word’s page layout.
After the extract
Paste into the word counter for characters, paragraphs and a reading-time estimate. Paste two versions into Text diff if you are checking an edit. Nothing in that chain sends the document to a server. If you need a scan turned into words, you need a recognition tool that you trust with that image. This site does not pretend to be that tool.
Questions
Why is the PDF extract empty?
The pages are probably images. The extractor only reads a real text layer. It does not OCR a scan.
Which Word tool should I use?
DOCX to text for the words. DOCX to HTML when headings and lists should survive.