sn1p4am58 downloadsShows local token counts for the active note in the status bar.
TokenBar is an Obsidian desktop plugin that shows the active note's local token count in the status bar.
1,234 tokensjs-tiktoken with o200k_baseAll counting is local. Claude and Gemini values are estimates and may differ from provider-side token counts.
TokenBar runs fully locally. It does not send note content to remote services, does not include telemetry, and does not require an account or payment.
TokenBar uses these tokenizer libraries and assets:
js-tiktoken (MIT)tokenx (MIT)@cyberlangke/tokkit-core (MIT)@cyberlangke/tokkit-deepseek (MIT), with tokenizer assets derived from official Hugging Face repositories under the deepseek-ai organization@cyberlangke/tokkit-qwen (Apache-2.0), with tokenizer assets derived from official Hugging Face repositories under the Qwen organizationpnpm install
pnpm run build
For manual installation, copy main.js, manifest.json, and styles.css into:
YourVault/.obsidian/plugins/tokenbar/