How to Count total number of Words in PDF?

Count the number of words in a PDF file

  • How can I get the word count of a PDF file?

  • Answer:

    If on Unix, you can use pdftotext: http://linux.about.com/od/commands/l/blcmdl1_pdftote.htm and then do the word count in the generated file. If on Unix, you can use: wc -w converted-pdf.txt to get the word count. Also, see the comment by frabjous - basically, you can do it in one step by piping to stdout instead to a temporary file: pdftotext myfile.pdf - | wc -w

osgx at Super User Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.