Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

TokenBar

sn1p4amsn1p4am58 downloads

Shows local token counts for the active note in the status bar.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

TokenBar is an Obsidian desktop plugin that shows the active note's local token count in the status bar.

Features

  • Status bar display: 1,234 tokens
  • Primary tokenizer setting, defaulting to GPT
  • Hover comparison for GPT, Qwen, DeepSeek, Claude (est.), and Gemini (est.)
  • Text-only note counting; embedded images and attachments are excluded

Usage

  1. Enable TokenBar from Obsidian's Community plugins settings.
  2. Open a Markdown note.
  3. Read the token count in the status bar.
  4. Hover over the TokenBar status item to compare all supported token counting methods.
  5. Open TokenBar's settings to choose the primary tokenizer shown in the status bar.

Tokenizers

  • GPT: js-tiktoken with o200k_base
  • Qwen: bundled Qwen3.5 tokenizer asset
  • DeepSeek: bundled DeepSeek V3.1 tokenizer asset
  • Claude and Gemini: lightweight local estimates

All counting is local. Claude and Gemini values are estimates and may differ from provider-side token counts.

Privacy

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.

Limitations

  • Claude and Gemini counts are estimates because their provider-side tokenizers are not bundled.
  • Embedded images and attachments are excluded; TokenBar counts note text only.
  • TokenBar is desktop-only.

Third-party notices

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 organization

Development

pnpm install
pnpm run build

For manual installation, copy main.js, manifest.json, and styles.css into:

YourVault/.obsidian/plugins/tokenbar/
HealthExcellent
ReviewPassed
About
Display the active note's local token count in Obsidian's status bar and set a primary tokenizer (default: GPT). Hover the status item to compare GPT, Qwen, DeepSeek and estimated Claude/Gemini counts; count text only—excluding embedded images and attachments—and run fully locally (desktop-only).
AIStatus bar
Details
Current version
0.1.3
Last updated
4 weeks ago
Created
4 weeks ago
Updates
4 releases
Downloads
58
Compatible with
Obsidian 1.4.4+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
sn1p4amsn1p4amsn1p4am
GitHubsn1p4am
  1. Community
  2. Plugins
  3. AI
  4. TokenBar

Related plugins

Vault as MCP

MCP server connecting Open WebUI, Claude Desktop, and other LLMs to your vault.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation - multi-page knowledge generation with entity/concept pages and conversational query.

HiNote

Add comments to highlighted notes, use AI for thinking, and flashcards for memory.