Token Lab

Token Lab

Type some text, pick a trained tokenizer, and see its token pieces and IDs. Compare four models, or build a small tokenizer from a corpus to see what happens before this step.

Input

23 charactersUnicode aware
Try a preset
Vocabulary size: Loading tokenizer files…

Tokenizer files load when selected. Click a token to load its actual input embedding from the model weights. Only the selected vector is downloaded; no paid API is used.

Output

[ 01 10 ]

Your tokens will appear here

Choose a model and click “Tokenize” to see its token pieces and IDs.