TEXT → GPT-5.5 TOKENS

Token Counter

See exactly how many tokens your prompt uses before you send it to an OpenAI model. Counting runs on your own device with the official BPE encodings, so your text never leaves the browser. Pick from 59 models and the right tokenizer is selected for you.

TEXT0 chars
tokenize
O200Kgpt-5.5

Paste your text to count tokens

Tokens0o200k_base
Characters0
Words0
Chars / token0
Est. input cost—
Context window used: 0%0 of 1,050,000 tokens
Input · 0 linesDrop a text file here
Tokens
Loading tokenizer… Counts are for raw text. Chat messages add a few formatting tokens per message.
BPE

Exact token counts

Uses the same byte-pair encodings as OpenAI: o200k_base, cl100k_base, p50k_base and r50k_base.

59

59 OpenAI models

GPT-5.5 back to GPT-3, o-series reasoning models, gpt-oss and embeddings.

LOCAL

Private by design

Everything runs in your browser. Nothing you paste is uploaded or stored on a server.

LIVE

Counts as you type

Auto update recounts on every edit, or switch it off and count on demand for huge files.

IDs

See every token

Colored token blocks show how text is split; hover a block for its token ID, or view raw IDs.

CTX

Context and cost

Check how much of the model's context window a prompt fills and estimate cost at your price.

Find your tool.

Simplify your next task.

Find your tool. Simplify your next task.

Simple, free tools to help you build, test, and get more done.

Explore Our Free Toolkit →