Token Counter
Estimate tokens & costLoading...
Paste text to count tokens
Or try a sample:
Counts use OpenAI tokenizers (o200k / cl100k). Approximate for other providers.
Token counter for GPT-4o, Claude, and Gemini. Supports o200k_base and cl100k_base encodings. All processing runs locally in your browser via WebAssembly.