Tokenizer playground

Models do not read words or letters. They read tokens. Type below to see exactly how text is split.

Try:

Tokens

Loading the tokenizer…

What to notice

This uses an OpenAI-style tokenizer (cl100k). Other model families split text differently, but the principle is the same. The dots mark spaces, which belong to the token that follows them. The tool loads about half a megabyte the first time.