CTAN Comprehensive TeX Archive Network

Direc­tory support/texcount



count is a Perl script that counts the num­ber of words in the text of files. It has rules for han­dling most of the com­mon macros and pro­vides colour coded out­put in­di­cat­ing which parts have been counted.

Web site and on­line web ser­vice

Go to http://app.uio.no/ifi/tex­count/ for more in­for­ma­tion or to ac­cess the script on­line as a web ser­vice.


There is doc­u­men­ta­tion at dif­fer­ent lev­els of de­tail and tech­ni­cal­ity:

  • Quick­Ref­er­ence gives a quick overview of op­tions and count in­struc­tions which may be used to con­trol how count pro­cesses doc­u­ments.
  • count is the main doc­u­men­ta­tion giv­ing a de­tailed ex­pla­na­tion of how count pro­cesses doc­u­ments, and how to use op­tions and count in­struc­tions to cus­tomise the word count­ing and re­port­ing the re­sults.
  • TechDoc is the tech­ni­cal doc­u­men­ta­tion of the in­ter­nals of count.

Ad­di­tional doc­u­men­ta­tion, in­clud­ing scripts and ex­am­ples, are avail­able on the count web site: http://app.uio.no/ifi/tex­count/

Ques­tions posted to Stack­Ex­change and tagged tex­count will au­to­mat­i­cally no­tify the count de­vel­oper: https://tex.stack­ex­change.com/ques­tions/tagged/tex­count


The pack­age, i.e. the script and all ac­com­pa­ny­ing files, is dis­tributed un­der the Project Public Li­cense.

Down­load the con­tents of this pack­age in one zip archive (633.8k).

count – Count words in a doc­u­ment

count is a Perl script that counts words in the text of files. It has rules for han­dling most of the com­mon macros, and can pro­vide colour-coded out­put show­ing which parts of the text have been counted.

The pack­age script is avail­able as a Web ser­vice via its home page.

Home pagehttp://app.uio.no/ifi/tex­count/
Li­censesThe Project Public Li­cense
Main­tainerEi­nar An­dreas Rød­land
Con­tained inTeX Live as tex­count
MiKTeX as tex­count
TopicsWord count
See alsowordcount
Guest Book Sitemap Contact Contact Author