CTAN Comprehensive TeX Archive Network

Directory support/texcount



count is a Perl script that counts the number of words in the text of files. It has rules for handling most of the common macros and provides colour coded output indicating which parts have been counted.

Web site and online web service

Go to http://app.uio.no/ifi/texcount/ for more information or to access the script online as a web service.


There is documentation at different levels of detail and technicality:

  • QuickReference gives a quick overview of options and count instructions which may be used to control how count processes documents.
  • count is the main documentation giving a detailed explanation of how count processes documents, and how to use options and count instructions to customise the word counting and reporting the results.
  • TechDoc is the technical documentation of the internals of count.

Additional documentation, including scripts and examples, are available on the count web site: http://app.uio.no/ifi/texcount/

Questions posted to StackExchange and tagged texcount will automatically notify the count developer: https://tex.stackexchange.com/questions/tagged/texcount


The package, i.e. the script and all accompanying files, is distributed under the Project Public License.

Download the contents of this package in one zip archive (634.2k).

count – Count words in a document

count is a Perl script that counts words in the text of files. It has rules for handling most of the common macros, and can provide colour-coded output showing which parts of the text have been counted.

The package script is available as a Web service via its home page.

Home pagehttp://app.uio.no/ifi/texcount/
Version3.1.1 2018-10-28
LicensesThe Project Public License
Copyright2008–2018 Einar Andreas Rødland
MaintainerEinar Andreas Rødland
Contained inTeX Live as texcount
MiKTeX as texcount
TopicsWord count
See alsolatexcount
Guest Book Sitemap Contact Contact Author