talira

Compare

clocTokei
What it iscloc counts blank lines, comment lines, and physical lines of source code in many programming languagesCount your code, quickly.
KindOpen sourceOpen source
Trust0.670.54
Stars2367615070
Last commit2026-11-182026-09-06
LicenceGPL-2.0-or-laterApache-2.0
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostableYesYes
Ways to run it——
SOC 2——
HIPAA——
SSO——
API—Yes
Plugins—No
MCP server—No
Company——
Features
  • counts blank, comment and code lines in many programming languages
  • counts files, directories, archives (tar, Zip, .ear) and git commits
  • diff mode between two versions of a code base
  • sum results across runs and projects
  • output as text, Markdown, SQL, JSON, XML, YAML and CSV
  • read comment definitions for new languages from a file
  • single self-contained file, no dependencies outside standard Perl
  • Windows executable and Docker image
  • 150+ languages
  • accurate comment handling
  • JSON/YAML/CBOR output
  • library API