Runs in your browser. Stays on your device. Privacy
Token counter
Count GPT-style tokens with common OpenAI encodings. Nothing leaves your device.
Default tokenizer for current OpenAI chat and multimodal models.
Paste text to count tokens.
Stats
Character, word, and token counts for the selected encoding.
Tokens
—
Characters
—
Words
—
Lines
—
Bytes
—
Encoding
GPT-4o, GPT-4o mini, GPT-4.1
o200k — Default tokenizer for current OpenAI chat and multimodal models.