Watch: count tokens in files
No sound. Each step is captioned on screen and also written out in the guide below.
AI Tools
How many tokens is that PDF, Word file, spreadsheet, image, or code? Drop your files and see what they cost on GPT, Claude, and Gemini before you send them.
Add files to see their token cost.
| File | OpenAI GPT-6, GPT-5, GPT-4o | Claude Opus 5 and newer | Gemini Gemini 3 and later | Actions |
|---|
No sound. Each step is captioned on screen and also written out in the guide below.
One file or a batch: documents, images, data, and code together.
See each file's tokens on GPT, Claude, and Gemini, and the total.
Resize images, compact code, or send a document's text instead of the file.
On Claude, typically 1,500 to 3,000 tokens a page, because each page is read as both text and an image. On Gemini 3 and later, 560 tokens a page by default. OpenAI also reads text and page images but doesn't publish a formula. Sending just the text, when the layout doesn't matter, usually costs far less.
Only OpenAI publishes its tokenizer, so only OpenAI's text counts are exact. Claude's and Gemini's are estimates from documented ratios, and PDF figures depend on how dense each page is. For exact numbers, use each provider's token counting API.
By their text: paragraphs, table rows, and each sheet as comma-separated rows. That's what you'd paste into a chat, and what most AI apps extract. Images inside them aren't counted. Use "Copy text" to get that text.
No. Every file is read in your browser, and nothing is sent anywhere.