The Tokenizer Playground
See how language model tokenizers split text and compare the resulting tokens and IDs.
Xenova (Joshua Lochner) · Browser app · Free browser demo · Browser
Free to try Open the tool
How to try it
- Select the GPT-4 tokenizer and enter Hello world.
- Switch the output to Token IDs to see how the sentence was split.
Pricing
The public browser demo tokenized one short sample with the GPT-4 tokenizer without an account or charge. This demo compares tokenizers. It does not run a GPT model or include Hugging Face hosting.