tokenToken Counter · Estimate

Token Counter

Paste any text to see it split into tokens and counted instantly. Uses a GPT-style pre-tokenizer heuristic — no AI, no network, all in your browser.

Tokens
0
Characters
0
No spaces
0
Words
0
Lines
0
Bytes
0

Input

Tokens

Highlighted tokens will appear here…
shield_lock

Private & Secure

Tokenization runs entirely in your browser. Nothing is uploaded.

calculate

Rule-based estimate

Splits on words, digit groups, punctuation and whitespace, then chunks long words — like a BPE pre-tokenizer. Real model counts may differ by ±10–15%.

palette

Colour-coded

Every token gets its own colour so you can see exactly where the boundaries fall.