Token counter
Estimate prompt size before you hit a context limit. Runs entirely in your browser.
Paste a prompt or document. Counting happens in your browser; nothing is sent anywhere.
0
Tokens (approx.)
0
Words
0
Characters
Estimate by model
Start typing to see per-model estimates.
How the estimate works
Each provider uses its own tokenizer, so exact counts differ. This tool blends a characters-divided-by-four estimate with a words-based estimate, which lands close to typical English text. Code, non-Latin scripts and unusual formatting can vary more.
Treat the result as a planning number, not a billing figure. For exact counts, use the provider's official tokenizer.