Skip to content
New
browser-only
No account required

AI Token Counter

Estimate text tokens without external APIs.

Text or prompt
This is a transparent estimate based on characters and words, not a model-specific tokenizer.

Estimated usage

0

Characters

0

Words

0

Estimated tokens

Actual token counts vary by model and tokenizer. Verify with your model provider before enforcing hard context limits.

Estimate cost from this token count

What this tool does

Estimate prompt size without calling a model.

How to use it

Paste text and compare the displayed character, word and estimated token counts.

Worked example

The heuristic uses about four characters per token, so 100 plain characters contribute roughly 25 tokens before other heuristic bounds.

Limitations and checks

This is not a model tokenizer. Languages, code, images and tool schemas can differ substantially; measure with the provider tokenizer before enforcing a context limit.

How your data is processed

The operation runs in your browser. Copy and download actions use your device. Where Save work is offered, a local copy is stored; eligible work can sync only under your enabled account settings. See Privacy for site analytics and storage details.

Privacy and storage details · Report an incorrect result · Browse tools