Token counter
Counts the tokens in a text for GPT models and shows how much AI context it takes.
Text or prompt
- Tokens
- …
- Characters
- 131
- Words
- 22
- Characters per token
- —
Loading the tokenizer vocabulary…
The count is exact for OpenAI models. Claude, Gemini and other models use their own tokenizers, so their numbers will differ. The text never leaves your browser.