Tokei — Fast, Terminal-Based Code Metrics
Tokei is a lightweight command-line program that helps developers inspect and quantify their source code. It scans a project and produces concise breakdowns so you can quickly understand the makeup of a repository.
Metrics Reported
- Blank/empty lines counted separately so you can see spacing and formatting trends
- Comment lines aggregated to show documentation and inline explanation density
- Source lines of code (SLOC) reported to measure actual implementation size
- File counts by language so you know how many files contribute to each language in the project
Each metric is grouped by programming language, making it easy to compare usage across a codebase.
Supported Systems and Languages
Tokei runs on Windows, macOS, and Linux and recognizes a wide range of programming languages and file types. Its output is optimized for terminal viewing, giving you fast, readable statistics without extra overhead.
Why Developers Use It
- Quickly gauge the scale and structure of a project
- Track comment-to-code ratios to monitor documentation practices
- Identify language distribution across a repository
- Use simple CLI commands to integrate into scripts or CI checks
Suggested Alternative
CrystalDiskMark 5 (free) is listed here as another readily available tool you might encounter. It’s cross-platform and freely distributed, though its primary focus is disk benchmarking rather than source-code analytics.
Technical
Title
tokei
Requirements
- Windows
Language
No language has been specified.
Available languages
License
- Free
Latest update
2025-07-03
Author
XAMPPRocky
Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Rate This App
Login To Rate This App
User Reviews
Be the first to post a review of tokei!