Tokens
The unit a language model processes. A token can be a whole word, a word piece, punctuation, whitespace, a number, or part of code. For plain English, 1,000 tokens is often about 700 to 800 words.
Paste any text to count its tokens, words, and characters at once, in your browser. It is a simple way to see how your writing maps to the tokens a model actually reads. Counts are Exact for OpenAI and clearly labeled Estimated for other providers.
Private by default · No signup · Local token counting where supported · Exact and estimated results clearly labeled
Your text is processed in your browser for supported local tokenizers. We do not store pasted prompts.
These three counts measure the same text in different ways. The counter shows all of them together so you can compare.
The unit a language model processes. A token can be a whole word, a word piece, punctuation, whitespace, a number, or part of code. For plain English, 1,000 tokens is often about 700 to 800 words.
A human writing unit. The counter splits your text on spaces to count words. One short word is usually one token, but longer or unusual words can split into several tokens.
Every letter, space, and symbol. Character counts help with hard input limits, but models read and bill by tokens, not characters — so watch the token count for cost and context fit.
Beginner answers about tokens, words, characters, and counting.
A token is a chunk of text a language model reads or writes. A token can be a whole word, part of a word, punctuation, whitespace, a number, or part of code.
No. Words are a human writing unit. Tokens are a model processing unit. One short word may be one token, while a longer word, code snippet, emoji, or non-English text may split into multiple tokens.
For ordinary English prose, 1,000 tokens often lands around 700 to 800 words. The real number changes with language, formatting, code, JSON, punctuation, and the tokenizer used by the selected model.
Yes. You can paste code, JSON, Markdown, prose, or mixed documents. The calculator also shows word and character counts so you can compare text shape alongside tokens.
Different model families use different tokenizers. The same prompt can split into different token pieces for OpenAI, Claude, Gemini, Llama, Mistral, DeepSeek, or Grok models.
It is Exact only for supported OpenAI encodings counted locally with gpt-tokenizer. Other providers are labeled Estimated and use an OpenAI-compatible tokenizer as a proxy, so real provider counts can vary.
No. Pasted text is processed in your browser. This site has no accounts, saved prompt history, analytics scripts, ad scripts, or server-side text processing.
Ready to plan cost and compare models? Try the LLM API cost calculator or the full LLM token calculator.