Tokenization in Large Language ModelsInteractive playground
Visual patch renderer → · EMNLP 2026
A companion to the EMNLP tutorial

Where does the text split?

Compare subword tokenizers and learned patching methods on the same text.

36 passages to start with.
Your text stays in your browser.

Choose an example

Choose a saved passage or add your own
Try:
Write your own example
Runs locally with the space baseline and any tokenizers you add. Neural patch predictions are available for saved passages only.0 / 4,000 characters

Add a Hugging Face tokenizer Optional · BPE, WordPiece, Unigram

Bring your own tokenizer

BPE · WordPiece · Unigram

Paste a public Hugging Face model link or ID. Downloads tokenizer files only; your text stays in this browser. Add up to four to compare.

Try:

An internet connection is needed to add a tokenizer. No model weights or login required.

    Compare the boundaries

    Each colored transition marks a group boundary
    Tokenizer display options
    Click a method tab to focus on one approach.
    Try changing BLT's entropy threshold
    Lower threshold → more patches. Higher threshold → fewer patches.
    Lower threshold · more boundariesHigher threshold · fewer boundaries

    Three experiments to try

    What the playground does and doesn't prove. The 36 saved passages include precomputed BPE, space, BLT, H-Net, and Bolmo segmentations. The BLT threshold uses saved entropy scores. Custom passages run locally with the literal-space baseline and any Hugging Face tokenizers you add; saved cl100k_base, BLT, H-Net, and Bolmo results are unavailable for new text. Hugging Face files are downloaded when requested; no passage text is uploaded. Custom examples are saved in this browser when storage is available; added tokenizers last for this visit. Automatic special tokens are disabled. Some tokenizers normalize text, so their vocabulary pieces are shown separately from exact input byte cuts. Group counts are not runtime, model-quality, or robustness measurements. Multilingual passages are demonstration drafts awaiting language review. Exact internal-byte cuts are preserved in the byte inspector; colored readable-text segments are approximate when cuts fall inside a grapheme.