Velamuvi AIAcademy

Token Counter

A free LLM token counter and visualiser. Paste text to see how it is split into tokens and estimate how much of a context window it uses.

How to use the token counter

  1. 1Type or paste any text.
  2. 2Each coloured block is one token, the unit a language model actually reads.
  3. 3Switch on token IDs to see the numbers behind the text.
  4. 4Use the bars to see how much of a context window your text would fill.

Private by design: this tool runs entirely in your browser. Nothing you type is sent to our servers.

Learn the ideas behind it

More tools