Token counter for practical context planning

Estimate token size quickly before submitting prompts or chunks of text. This page runs fully in your browser and keeps your content private while showing a close estimate.

Estimated tokens (~chars / 4)0General heuristic (~4 chars/token)
Estimated tokens (~words * 1.3)0Word-based heuristic (~1.3 tok/word)
Words0
Characters0
Characters (no spaces)0
Sentences0
Estimate disclaimer: Token counts are approximations based on standard heuristics (~4 characters or ~1.3 tokens per word). Actual token counts vary per model tokenizer (e.g. OpenAI, Anthropic, Gemini) and language or code formatting.

This is the free version

Works where you write

PromptDC rewrites selected text in any app, every browser, your IDE and your terminal on Mac and Windows.

One keyboard shortcut

Select text, press Cmd+Shift+E or Ctrl+Shift+E, review the result, then Replace or Copy. It never presses Enter for you.

Your profiles, your models

Pick a default profile per app, or bring your own API key on the Lifetime plan.

Free here: unlimited, this utility runs entirely in your browser. In the app: from $9/mo, or Lifetime from $69 with your own API key.

Token pressure changes quickly as drafts evolve, so this estimator helps you keep visibility on length as you revise. It gives separate close estimates for major model families so you can compare budget impact before a real call. Use it as a planning indicator, because tokeniser output can shift slightly depending on implementation details.

Common questions

More tools

Looking for another tool?
See all free tools

Want this in every app?
Get the desktop app

Building with AI?
See coding

Write better with AI

Enhance any text you select in any app on desktop, in browsers, in your editor or terminals.

Download PromptDC