Tokei

Code statistics.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Counts lines of code very quickly (millions of lines per second) to output stats for lines, code lines, comments, and blanks. Breaks out counts per language. Understands language specific syntax and supports basically every language. Single static (Rust) binary and can be also imported as a library.

Tradeoffs

No stable release since Jan 2021, but does have recent commit history.

Is Tokei a fit?

Based on Console’s review published on 2023-02-23. Summary updated .

Who it’s for

Developers who need to analyze code statistics for multiple languages

Why consider it

Tokei can quickly count lines of code to output statistics

Keep in mind

Tokei has not had a stable release since January 2021

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-02-23. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Tech stack

Runs on
  • FreeBSD
  • Linux
  • Windows
  • macOS
Written in
  • Rust

Checked

Source and notes

Code statistics tool builds with Rust and supports macOS, Linux, Windows and FreeBSD.

View research source ↗

Coverage may be incomplete. “Written in” describes implementation, not supported project languages.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.