# AI Token Counter

> Paste any text to estimate its tokens, words and characters, and see how much of a 1M-token context window it fills. Free, private, runs in your browser.

Canonical: https://promptitin.com/free-tools/ai-token-counter
Last updated: 2026-11-12

Paste a prompt or document to see roughly how many tokens it uses before you send it to ChatGPT, Claude or Gemini.

This is an interactive tool. Use it at https://promptitin.com/free-tools/ai-token-counter.

## How to use it

1. Paste or type your text in the box.
2. Read the token estimate, word count and character count as you type.
3. Check the bar to see how much of a 1M-token context window it fills.

## Tips

- In English, one token is about 4 characters or three quarters of a word.
- Code, numbers and non-English text use more tokens per word.
- Each model counts a little differently, so treat this as an estimate. The provider's own count is the one you're billed on.
- Shorter prompts are cheaper and often clearer. Cut repeated instructions first.

## FAQ

### What is a token?

A small piece of text a model reads, often part of a word. “Prompting” might be two tokens: “Prompt” and “ing”.

### How accurate is this counter?

It's an estimate based on about 4 characters per token for English, which is close for most prose. Exact counts differ slightly between OpenAI, Anthropic and Google models.

### Is my text sent anywhere?

No. Counting happens in your browser. Nothing you paste leaves your device.

### How many tokens fit in ChatGPT, Claude or Gemini?

Current top models from OpenAI, Anthropic and Google accept about 1 million tokens of context through their APIs. Chat apps may allow less per message.

## Related

- [Prompt Grader](https://promptitin.com/free-tools/prompt-grader)
- [AI Image Prompt Builder](https://promptitin.com/free-tools/ai-image-prompt-builder)
