Launch offer20% off every Pro version until 30 November, applied at checkoutSee the pricesHoliday offer15% off every Pro version until 31 December, applied at checkoutSee the prices
MutewareAdd to Chrome

Free tools / Token counter

Token counter

Paste a text to see roughly how many tokens it is, and how much of a context window it fills. The count is an estimate that works for any AI model. Everything runs in your browser.

Copying from a web page? Copy for AI turns the page into clean Markdown and shows an estimate of words and tokens after every copy.

How it works

Paste your text

A prompt, an article, a log or a whole document.

Read the estimate

Tokens, words, characters and lines update while you type.

See what fits

The bars show how much of a small, a medium and a large context window the text takes.

Questions

How accurate is the estimate?

It is a rule of thumb: about four characters per token for text in Latin script and about one token per character for Chinese, Japanese and Korean. Every model family cuts text into tokens in its own way, so the real number differs per model. Code, numbers, tables and long compound words usually take more tokens than this estimate. Use it to judge what fits, not to predict a bill to the cent.

What is a token?

A piece of text that a model reads as one unit. Short common words are one token, longer or rarer words are cut into several. Models count their limits and their prices in tokens, not in words.

What is a context window?

The amount of text a model can take into account at once: your prompt, what you pasted and the answer together. The sizes shown here are common ones. Check the documentation of your model for its exact limit.

How do I use fewer tokens?

Leave out what the model does not need. A web page copied as it comes is mostly menus and link clutter. Copying it as Markdown keeps the structure and drops the rest. See how to use fewer tokens.

Is what I type sent anywhere?

No. The check runs in JavaScript on this page, on your own computer. There is no account and nothing you type or paste is sent to us or to anyone else. You can see this in the network tab of your browser.

More free tools

Send the article, not the whole page

Copy for AI turns a selection or a whole web page into clean Markdown, without menus, ads or tracking links, and shows an estimate of words and tokens. Free, no account.