Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Project Token CounterNew to Visual Studio Code? Get it now.
Project Token Counter

Project Token Counter

Jean-Baptiste Vanhems

|
16 installs
| (0) | Free
Counts tokens in your workspace in real-time
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Token Counter

VSCode extension that counts tokens in your workspace.

What it does

  • Counts tokens in real-time using tiktoken (cl100k_base encoding)
  • Displays total in status bar
  • Auto-updates on file changes
  • Shows file-by-file breakdown
  • Tracks count history
  • Respects .gitignore patterns
  • Allows custom file exclusions

Usage

Click the token count in the status bar to view details.

Storage

Data stored in .token-counter/:

  • history.json - Count history
  • ignored-files.json - Excluded files

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft