Token counter

Paste text or drop a file. See how many tokens it uses and trim the excess.

Clean up

Result
Exact count for Claude

Token counts above are estimates. This uses Anthropic's free token counting API; your key is sent only to api.anthropic.com.