Home › AI Tools

AI Token Counter

Estimate how many tokens a text uses in AI models such as ChatGPT, Claude or Gemini and how much of a context window it fills.

How it works

AI models read text in pieces called tokens. Providers publish a rule of thumb: in English one token is about 4 characters, or about ¾ of a word. This tool divides the characters by 4 for the main estimate and by 3.5 for a higher estimate. Chinese, Japanese and Korean characters are counted as one token each. The exact count depends on the model's tokenizer, so leave some room.

Example

Your text: Paste the text you plan to send to an AI model here. The counter shows about how many tokens it uses and how much of the context window is left. · Context window: 128,000 tokens → Estimated tokens: 36

Formula

tokens ≈ characters ÷ 4 (Chinese, Japanese, Korean: 1 per character)

Source

Rules of thumb published by AI providers: about 4 characters or ¾ of an English word per token (OpenAI Help Center; Google Gemini API documentation) and about 3.5 English characters per token (Anthropic documentation). Counting each Chinese, Japanese or Korean character as one token is this tool's own assumption. Exact counts depend on each model's tokenizer. The text is not sent anywhere.

Checked: 2026-11-22 · Results are for information only.

Common examples

Your textEstimated tokens
Hello world3
The quick brown fox jumps over the lazy dog.11
안녕하세요, 반갑습니다.11
今日はいい天気ですね。11

Select a row to load it into the calculator.

Good to know

  • Chat apps also count earlier messages in the conversation and any hidden instructions, so a long chat can fill the window even when your new message is short.
  • Code, numbers and rare words usually split into more tokens than plain English prose, so leave extra room for them.
  • Before relying on a tight limit, check the exact count with the token-counting tool or API from the model's provider.

Questions and answers

What is a token?

A token is a piece of text that an AI model reads as one unit. It can be a whole word, part of a word, a space or a punctuation mark. In English, 100 tokens are roughly 75 words.

Why is my count different from the AI tool's count?

Each model family splits text with its own tokenizer, so the same text gives different counts. This tool gives an estimate from published rules of thumb, not the exact figure for one model. For an exact count, use the counting tool from the model's provider.

Is my text sent anywhere?

No. The count runs in your browser and nothing you type leaves your device.

Related calculators