Free Text Token Estimate calculator with clear step-by-step results.
Estimates token count from the actual text you paste in, blending a characters-per-token ratio with a words-per-token heuristic. The ratio varies sharply by content: English prose averages about four characters per token, code closer to three, and CJK scripts under two.
Character-based estimate
Tokens = characters / characters per token for the content type
Word-based estimate
Tokens = words x 1.33, blended with the character estimate for non-CJK text
Punctuation, indentation, camel-case identifiers and operators fragment into many short tokens, so the same character count yields more tokens than prose.
Usually within 10-15% for prose. Only the model's own tokenizer gives an exact count, and different model families tokenize the same text differently.