How to count words in a PDF, DOCX or TXT file
- Select Choose file or drop one PDF, DOCX or UTF-8 TXT.
- Wait for the document to be read and counted.
- Check Words, Characters and Characters without whitespace, then review which text was counted.
Check a draft without copying and pasting
Use the document word counter to count words in an essay, manuscript, report or translation directly from your saved file. Everything is read in your browser, reporting total words, characters and characters without whitespace alongside a summary of which parts were scanned. For short pasted snippets that also need reading-time estimates or paragraph totals, use the plain-text Word Counter instead.
How PDF, DOCX and TXT formats are counted
| File format | What is included in the count | Size and structural limits |
|---|---|---|
| Selectable text objects grouped into lines across pages; ignores image-only scans | Up to 50 MiB and 200 pages | |
| DOCX | Main body paragraphs and tables; excludes headers, footers, footnotes & deletions | Up to 50 MiB (20 MiB expanded XML) |
| UTF-8 TXT | All plain text after stripping byte-order mark and normalizing line breaks | Up to 5 MiB |
In PDF files, each page stores positioned text rather than flowing paragraphs, so the PDF word count inspects selectable text layers and reports how many pages contained text. Check that count if your document mixes digital pages with scanned appendices, or open the file in PDF to Word when you need editable paragraphs. Because counting engines vary on hyphens and headers, stick with one consistent tool and DOCX word count rule when tracking progress between drafts.
Frequently asked questions
Can I get a PDF word count from a scan?
An image-only scan needs optical character recognition before there is text to count.
What does the DOCX word count include?
It counts the main body and tables. Headers, footers, footnotes and deleted revisions are excluded.
How are characters counted?
The total counts Unicode code points, including spaces and normalized line breaks. The whitespace-free total excludes spaces, tabs and newlines.
How large can my document be?
PDF and DOCX files can be up to 50 MiB. A PDF can have up to 200 pages, the DOCX main XML can expand to 20 MiB, and a UTF-8 TXT can be up to 5 MiB.
Why do different word counters disagree?
Language-specific word boundaries, hyphens and the order in which a PDF stores its text can affect the totals.
Last updated November 12, 2026