How to count words in a PDF (free, private, in your browser)
How to get an accurate word count for a PDF file — plus what makes PDFs tricky to count, and how our online word counter handles scanned documents, columns, headers, and footnotes.
You'd think counting the words in a PDF would be as simple as selecting all the text and pasting it into a word counter. Sometimes it is. Just as often, though, the “text” isn't really text — it's a picture of text — and your selection comes up empty. Here's the fastest reliable way to get a real word count for any PDF, plus what to do when the simple way doesn't work.
Count words in a PDF in 3 steps
- Open the PDF Word Counter and drop your PDF onto the upload area. No signup, no upload to any server — the whole thing runs in your browser.
- Wait a second while the tool extracts the text from every page. Long documents take a couple of seconds; the progress bar shows you where it is.
- Read the total right below the tool: word count, character count (with and without spaces), and per-page breakdown. Copy the number or export a small summary if you need it.
Why counting PDF words is trickier than counting Word words
A .docx file stores its words as a plain sequence of characters, so counting them is straightforward. A PDF stores text as positioned glyphs on a page — arranged by coordinates, not by reading order. That means:
- Multi-column layouts can read in the wrong order (right column merged into left) unless the extractor respects the visual order. Our counter reconstructs reading order per page.
- Running headers, page numbers, and footnotesget counted alongside body text. If you only want body copy, subtract the header/footer word count once and multiply by page count.
- Hyphenated line-breaks (words split across lines) can look like two words to a naïve counter. Our counter stitches them back together.
What if my PDF is a scan (image)?
Scanned PDFs — for example, ones produced by a phone scanner app or a copier — usually contain images, not text layers. Selecting them in your PDF viewer copies nothing; counting words returns 0.
Fix: run the PDF through SmilingPDF's OCR tool first. It recognises the text inside the images and writes it back into the PDF as a real text layer. After that, PDF Word Counter will read it normally.
Do the numbers match Word's count?
They usually do, within a few percent. Small differences come from how each tool handles hyphenation, contractions, numbers-with-decimals, and things like URLs — different tools apply slightly different word-boundary rules. If you need an exact match with a specific system (e.g. a submission-portal limit), always trust that system's own count.
Is this really free? And is my PDF private?
Yes to both. The counter is part of SmilingPDF's free toolkit — no signup, no ads on the tool itself, no server-imposed limit on document size beyond what your browser can hold in memory. And because everything runs client-side, the file's text is extracted inside your own browser tab; it never travels to a server.
Ready to try it?
Open the PDF Word Counter tool — no signup, no upload, no watermark.
Open PDF Word CounterFrequently asked
FAQ
Frequently asked questions
Got questions? We've got answers.
How do I count words in a PDF online for free?
Open SmilingPDF's PDF Word Counter, drop your PDF file onto the upload area, and read the total that appears below — word count, character counts, and per-page breakdown. No signup, no upload to a server: the count happens in your browser.
How accurate is the PDF word count?
Very close to Microsoft Word's count — usually within a percent or two. Small differences come from how each tool handles hyphenation, contractions, numbers, and URLs. If a specific submission system enforces a word-limit, trust that system's own count rather than any third-party tool.
Why does my PDF word count come out as 0?
That almost always means the PDF is a scan — an image of text, not real text. Run it through SmilingPDF's OCR tool first to add a real text layer, then count again.
Does the tool count words in headers, footers, and page numbers?
Yes — it counts everything the PDF's text layer contains, including running headers, footers, and page numbers. If you want only body copy, note the header/footer count once and subtract page_count × header_words yourself.
Is there a page or file-size limit?
There's no fixed cap. Because the work happens on your device, the practical limit is your browser tab's memory — hundreds of pages of typical prose is fine on any modern laptop.
Does SmilingPDF upload my PDF to count its words?
No. The whole extraction and count runs inside your browser tab using standard web APIs — the file never leaves your device. Open your browser's Network tab and use the tool: you'll see no upload request carrying your PDF's content.
Other guides
How to merge PDF files online (2026 guide)
Combine multiple PDFs into one file in seconds — no signup, no watermarks, and nothing uploaded to a server. A step-by-step walkthrough.
How to compress a PDF without losing quality
Shrink a PDF for email or upload while keeping the text sharp and the images readable. When to use lossy vs lossless, and what actually makes a PDF big.