Tokenizer playground

Browser tokenizer

Paste text, choose an LLM tokenizer, and compare token counts and token splits entirely in your browser.

Online tokenizer comparison for LLM text

This browser tokenizer shows how byte-pair encodings split text. Use it to inspect prompt tokenization, compare model-family behavior, copy token IDs, and learn whitespace, punctuation, emoji, code, or multilingual text changes the count.

Tokenization runs client-side. No input data is ever sent to an external server.