Free tool ยท runs in your browser ยท nothing uploaded
Token Counter
Estimate how many tokens your text uses and how it fits common context windows.
Fits in a context window?
- 8K tokens0%
- 32K tokens0%
- 128K tokens0%
- 200K tokens0%
- 1M tokens0%
Estimates use a word and punctuation model tuned for English. Code, other languages, and long numbers usually tokenize into more pieces than prose.
Paste any text and this token counter gives you an estimated token count alongside words and characters, then shows what share of common context windows it would fill, from 8K up to 1M tokens. The estimate is based on character and word counts, not a specific provider's tokenizer, so treat it as a working estimate rather than an exact figure.
Tokens are the units language models actually read, and every model has a limit on how many it can hold at once. Knowing roughly where a document lands tells you whether it will fit in one message, how much room is left for the answer, and what an API call might cost. Everything is computed in your browser: your text is never uploaded.
How to use it
- Paste or type your text into the box.
- Read the estimated token count, along with words and characters, as you edit.
- Check the context window table to see how much of each common limit the text would use.
What is a token?
Language models do not read letters or whole words. They read tokens: chunks of text produced by a tokenizer that turns common words into a single token and rarer words, numbers, and punctuation into several. "The" is one token; an unusual surname or a long URL might be five or more. Each provider trains its own tokenizer, so the same sentence can cost a slightly different number of tokens on GPT, Claude, and Gemini.
Tokens matter for two reasons. Context windows are measured in tokens, so they decide how much a model can read and remember in one conversation. API pricing is also per token, so the count drives cost. Because this tool estimates from characters and words rather than running a provider's tokenizer, the number is a planning figure, not the exact count you would be billed for.
How many tokens is a page of text?
For ordinary English prose, a token works out to roughly three quarters of a word, or about four characters. Code, other languages, and text full of numbers or symbols usually cost more tokens per word. These rough conversions are enough for planning:
Leave room for the answer. If a document fills most of a context window, the model has little space left to reply, and long conversations shrink that space further with every turn.
- 1 token โ 4 characters, or about 0.75 words of English
- 100 tokens โ 75 words, a short paragraph
- 1,000 tokens โ 750 words, roughly a page and a half single-spaced
- 8K tokens โ 6,000 words, a long article or a short story
- 32K tokens โ 24,000 words, a novella or a lengthy report
- 128K tokens โ 96,000 words, a full-length novel
- 200K tokens โ 150,000 words, a long novel or a thick contract
- 1M tokens โ 750,000 words, a shelf of books or a large codebase
Frequently asked questions
- Is the token count exact?
- No. It is an estimate based on characters and words. Each provider uses its own tokenizer, so the real count for GPT, Claude, or Gemini can differ, especially for code or non-English text.
- Is my text uploaded?
- No. Counting happens in your browser. Nothing you paste leaves your device.
- What is a context window?
- The maximum number of tokens a model can consider at once, including your prompt, any documents, the conversation so far, and its own reply. Sizes such as 8K, 32K, 128K, 200K, and 1M tokens are common.
- Why do tokens matter if I only use a chat app?
- They decide how much you can paste into one message and how much history the model can keep in view. When a long chat starts forgetting earlier details, the context window is usually why.
Keep going
More free tools
Do it in ChatUp
Now run it on a real model.
Paste what you built here into ChatUp and choose GPT, Claude, Gemini, Grok or DeepSeek for the job. One account, same history on web, iPhone and Android.