How to count the words in a PDF
- Drop the PDF onto this page, or click Choose PDF files. You can add several at once.
- Read the count. The table shows pages, words and characters for each file, with a total, and the text appears in the editor.
- Fine-tune it. Choose whether to drop repeating headers, footers and page numbers, and look at the words-per-page chart to spot appendices, blank pages or tables of contents.
Once the text is in the editor, every other tool works on it too: reading time, readability, keyword density and more.
Your PDF stays on your computer
Most online PDF tools upload your file to a server, which is a bad idea for contracts, theses, manuscripts or anything confidential. txtstat reads the PDF inside your browser with pdf.js, the open-source PDF engine built into Firefox. The file never leaves your device.
What gets counted
- The text of every page, in reading order, including footnotes and captions printed on the page.
- Not headers, footers and page numbers that repeat at the top or bottom of the pages, unless you untick that option. Running titles would otherwise add hundreds of words to a long document.
- Words split across lines with a hyphen, such as docu-ment, are joined back together, so they count once.
- Not text inside images. Scanned pages, photos of documents and screenshots contain pictures of words, not text. If a PDF has no text at all, txtstat tells you; text recognition (OCR) is coming soon.
PDFs with two or more columns, tables or text boxes usually count correctly, because txtstat follows the order in which the text was written into the file. The order of the text in the editor may look jumbled in complex layouts, but the count is still right.
Counting many PDFs at once
Translators, editors and agencies often need the total for a batch of files to prepare a quote. Drop them all at once: the table lists each file with its pages, words and characters, and adds a total row. Click Show on a row to load just that file into the editor.
Frequently asked questions
How do I count the words in a PDF?
Drag the PDF onto this page or click “Choose PDF files”. The word count, page count and characters appear in seconds, along with a chart of words per page.
Is my PDF uploaded to a server?
No. The PDF is read inside your browser and never leaves your device. That makes txtstat safe for confidential documents.
Why does my PDF show 0 words?
The PDF probably contains scanned pages: images of text rather than text itself. You can check by trying to select text in a PDF reader; if you can’t, it’s an image. Text recognition (OCR) is coming soon.
Does it count headers, footers and footnotes?
Footnotes printed on the page are counted. Headers, footers and page numbers that repeat across pages are left out by default; untick the option to include them.
Can I count several PDFs at once?
Yes. Drop or choose several files and you get the pages, words and characters of each, plus a total.
Can it open password-protected PDFs?
Yes. txtstat asks for the password and opens the file in your browser. The password isn’t stored or sent anywhere.