Paste a prompt to see its characters, words and approximate token count, and how much of common context windows (8K, 32K, 128K, 200K and 1M tokens) it would use. Runs in your browser; nothing is uploaded.
How to use
- Paste your prompt, including any system instructions, examples and documents you plan to send.
- Read the counts and the table. Each row shows the share of that context size your text uses, and flags “too long” when it does not fit.
How the estimate works
Tokens are estimated at roughly 4 characters per token, a common rule of thumb for English text. Real counts depend on the model’s tokenizer and the language: code, numbers and non-English scripts usually use more tokens per character. For an exact OpenAI count use the OpenAI tokenizer, and to compare several tokenizers use tokenizer compare.
Leave room for the answer
A model’s context window holds the prompt and its reply (and, for reasoning models, hidden reasoning tokens). If your prompt uses 90% of the window, a long answer may be cut off. Keeping prompts well under the limit also usually lowers cost, since API pricing is per token. The token counter estimates what a prompt costs across API models, and tokens explained covers the basics.
Related
System prompt length checker · Token counter · Token to word converter · All tools
How we check
The behaviour described on this page was checked against the tool’s source code on 2026-11-19 (Asia/Colombo). Spotted a mistake? Contact us.