9.7 MB engine, then offline

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Tokenizer visualizer

See how a GPT tokenizer splits your text: every token shown as a coloured block, with the exact token count.

Runs in your browserNothing uploadedOne-time 9.7 MB engine

Set up for this job. It runs on Token counter, where every option is there to change.

Loading Tokenizer visualizerRuns on this device. Nothing is uploaded.

Questions

Which tokenizers can I see?

OpenAI's o200k_base (GPT-4o) and cl100k_base (GPT-4), and the Claude legacy tokenizer that Anthropic published for older Claude models. Current Claude models use a tokenizer that is not public.

Why do some characters take several tokens?

Tokenizers work on bytes. An emoji or a letter from a less common script can need several bytes, and if those bytes are not a known token they are split across several.

Is my text uploaded?

No. Tokenizing runs in a worker in this tab. Only the tokenizer files are downloaded, from HelpyTools itself.

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.