Count what is in a PDF

Pages, words, characters and reading time.

Drop your PDF hereor click to choose — up to 50 MB free

This tool reads a PDF and reports what is in it: the number of pages, words and characters, how many bookmarks it has, how many pages carry no selectable text, and an estimated reading time. The document is not changed. Use it to check a submission against a word limit, to size a translation or proofreading job, or to find out whether a file is real text or a scan.

How to use it

  1. Drop the PDF you want counted on the page.
  2. Click Count this PDF.
  3. Download the result, a small JSON file that opens in any text editor or browser.
  4. Read the notes at the end of the file, which explain a zero or partial count.

What is counted, and how

The figures come from the text stored in the PDF, the same text you can select and copy in a reader.

  • Words: pieces of text separated by spaces that contain at least one letter or digit, so a stray dash or bullet is not a word.
  • Characters: every character except spaces and line breaks.
  • Reading time: the word count divided by 200 words per minute, rounded, and never less than one minute when there are words.
  • Pages with no text: pages on which nothing selectable was found.
  • Also reported: page count, number of bookmarks, file size in bytes, and the title and author if the file records them.

Why the count can differ from Word

A PDF stores text in fragments positioned on the page, and it does not record where words begin and end. A word that the file holds in two fragments is counted as two, and headers, footers and page numbers are counted with everything else. Expect a figure close to your word processor's, not identical to it.

Words are found by the spaces between them, so text in languages written without spaces, such as Chinese or Japanese, is heavily undercounted. The character count is the more useful number for those.

Zero words, and long documents

A scanned document is a set of pictures of pages. It has no stored text, so it counts zero words, and the notes say that this is the likely reason. Add a text layer with OCR PDF, which needs Premium, and count the result.

Text is counted on the first 500 pages, and an exceptionally dense document can reach the limit sooner. When that happens the notes state how many pages were counted, so you know the totals are partial. To count the rest, split the file and count each part. To get the text itself, use PDF to text.

Questions

How do I count the words in a PDF?

Add the file and click Count this PDF. The words figure in the result is the number of space-separated words found in the selectable text of the document.

Why does my PDF show zero words?

Almost always because it is a scan or a set of images, which contain no selectable text. The pages-with-no-text figure will equal the page count. Run OCR on it first and count again.

Does the character count include spaces?

No. Spaces, tabs and line breaks are left out, so the figure is characters without spaces.

How is the reading time calculated?

It is the word count divided by 200, the usual rate for reading prose on a screen, rounded to whole minutes. A document with any words reports at least one minute.

Are headers, footers and footnotes included?

Yes. Everything stored as text on the pages is counted, because a PDF does not mark which text is body and which is a running header.

What format is the result in?

A JSON file with one named figure per line. It is plain text, so it opens in a browser or a text editor and can be read by a script.