BUILT FOR WRITERS, DEVELOPERS & AI USERS

Every token counts.

Paste your text, get an instant GPT token count, and check how it fits your token budget. No signup, no clutter.

01 /

Your text

Drag the lower-right corner to resize ↘
0 characters

Your text stays in your browser. The tokenizer code loads from a third-party CDN, but your typed text is not sent to our servers.

UNDERSTAND YOUR INPUT

More than just word counting.

AI models process text as tokens—small pieces of words, characters, and punctuation. The same sentence may use a different number of tokens with a different encoding.

01

Paste or type your text

Use a prompt, paragraph, or a piece of code. Your results update as you write.

02

Choose your AI model

Pick the AI model you use to see the most relevant token count for your text.

03

Compare with your budget

Set your own token allowance and watch the usage bar as your text grows.

GOOD TO KNOW

Frequently asked questions.

What is an AI token?

A token is a unit used by language models to process text. Tokens aren't always whole words: punctuation, spaces, and parts of words can affect the count.

Is this an exact token count?

When the tokenizer loads successfully, the count is exact for the selected OpenAI-compatible encoding. If the tokenizer is unavailable, we clearly label an approximate estimate instead. Chat/API requests may add overhead.

Does this work for Claude or Gemini?

Not exactly. Different providers use different tokenizers. This tool currently supports o200k_base and cl100k_base encodings, not exact Claude or Gemini token counts.

Is my text saved or uploaded?

No. The text is processed in your browser and isn't submitted to a server by this website. The page downloads its tokenizer library from a third-party CDN.

Why won't the token number load?

The exact tokenizer needs an internet connection to download its library. If it cannot load, the tool keeps working with a clearly labelled approximate estimate.