Skip to content
Yatno

AI Token Calculator

Paste text to count its tokens, characters and words, and see how much of a model’s context window it fills.

Runs in your browser. Nothing is uploaded.

Loading the app…

How to use it

How exact is the count?
It is exact for the o200k_base encoding. Every model family splits text its own way, so for other models a range is shown instead of one number.
Is my text sent to an AI service?
No. The counting runs in your browser. Nothing is sent anywhere.