← AI LAB

Tokenizer Lens

Language models don't read letters or words — they read tokens. Type English or Japanese and watch five real tokenizers carve it up, right in your browser.

RUNS ON YOUR DEVICE·

Runs entirely in your browser — nothing you type is sent anywhere.

GPT-4o2024 · 200k VOCAB
Gemma2024 · 256k VOCAB
Llama 32024 · 128k VOCAB
Claude (2023)2023 · 65k VOCAB
BERT2018 · 30k VOCAB

Each chip is one token. A chip with a small number is a single character the tokenizer had to spell out in raw bytes — one character, several tokens. ·marks a space.

What you’re looking at

Before a language model sees your sentence, a tokenizer chops it into pieces from a fixed vocabulary — anywhere from 30,000 to 250,000 entries. Each piece becomes a number, and the model only ever works with those numbers. Everything a model “knows” about spelling, rhyme, or kanji has to be learned through that filter.

Each row above is a real tokenizer, downloaded from the Hugging Face Hub and run entirely in your browser — nothing you type leaves your device.

Things to try

What I learned building it