iWebSeoTool Word to Token Calculator: Turn words into tokens before you send text to an AI model — paste the text, set the tokens per 100 words and the price, and see the tokens, the words and the cost.
This word to token calculator turns words into tokens before text is sent to an AI model — paste the text, set the tokens per 100 words and the price per million tokens. It is a simple way to convert words to tokens in a prompt: it shows the words, the characters, the estimated tokens and what they would cost — so the prompt is priced before a single token is sent.
The tokens per 100 words is the honest part of this calculation — about 133 is the usual rule for plain English, but code, numbers and other languages take more tokens per word, so the estimate only holds if the rate matches your text. The figures are a model of your own numbers, not the provider's exact token count. Everything runs in your browser.
Tap a star to rate:
Why Use Our Word to Token Calculator?
Cost Before You Send
Know what a draft will cost before a single token is billed, not after the invoice arrives.
Words Next to Tokens
The text is shown in words, characters and tokens, so any unit you think in is covered.
Your Own Rate
The tokens per 100 words is yours to set, so code and other languages are priced at their own rate.
Free, With No Limits
Convert every prompt, document and draft on your list, with no signup and no premium tier.
Common Use Cases for Word to Token Calculator
Long Prompts
Check whether a long prompt fits the model’s token limit.
Cost Estimates
Price a draft before sending it to a paid model.
Team Budgets
Add up the drafts a team sends each month and price the total.
Model Comparisons
Compare what the same text costs on models with different prices.
Draft Trimming
See how many words a draft must lose before it fits a token budget.
Document Checks
Count the tokens in a whole document before it is summarised.
Understanding Word to Token Conversion
What is Word to Token Conversion?
Word to token conversion turns a word count into a token count — the number of pieces an AI model reads — by multiplying the words by the tokens per 100 words, about 133 for plain English. The character count is the length of the text as typed, and the estimated cost is the tokens divided by a million times the price per million tokens.
How Our Word to Token Calculator Works
- Paste the text: Add the prompt or document you want to convert.
- Set the rate: Enter the tokens per 100 words and the price per million tokens.
- Read the count: See the words, the characters, the estimated tokens and the estimated cost — then trim the text if the figure is too high.
Where Word to Token Conversion Goes Wrong
- One rate for every text: Code takes more tokens per word than prose, so a single rate misprices a mixed document.
- Forgetting the reply: The model’s answer is billed too, and a long summary can cost as much as the prompt itself.
- Counting words as tokens: A token is about three quarters of a word, so counting words as tokens overstates the bill.
- Trusting the estimate exactly: Every model tokenises differently, so the count is a guide, not the provider’s own figure.
Privacy, Accuracy & Availability
Your text is converted in your browser and is never uploaded or stored. The token count is an estimate built on the rate you enter — it cannot match the provider’s tokenizer exactly, and no cost is guaranteed. It is free, with no account and no usage limits.
Related tools
- Token Counter — count the tokens in any text before you send it to a model.
- Character to Token Calculator — turn a character count into tokens before sending text to a model.
- Context Window Calculator — work out how much text fits inside a model's context window.
- File Token Calculator — estimate how many tokens a file will use before you send it.
Frequently asked questions
At the usual rate of 133 tokens per 100 words, 32 words is 42.56 tokens — costing about $0.0001 at $3.00 per million tokens. Paste your own text and set the rate to match it, and the count follows your figures.
It is the usual rule of thumb for plain English — about 1.33 tokens per word, or three quarters of a word per token. Code, numbers and other languages take more tokens per word, so set the rate to match your text: 150 or more for dense code, fewer for simple prose.
Because every model has its own tokenizer, and this calculator multiplies the word count by the rate you enter. It cannot match the provider's exact tokeniser, so treat the figure as a guide for cost and length — and check the provider's own count when the exact number matters.
The estimated tokens divided by a million, times the price per million tokens you enter. The sample costs about $0.0001 because it is only 42.56 tokens — a 100,000-word document at the same rate would hold about 133,000 tokens and cost about $0.40. Only the input tokens are priced here; the model's reply is billed separately.
It should be close — words are counted as runs of characters separated by spaces, tabs or line breaks. Hyphenated words and numbers are counted as single words, the same way most word counters treat them.
Yes — paste the whole document in one go. Very long documents still convert instantly, since everything runs in your browser. For a folder of documents, convert them one at a time and add the token counts together.
No. The calculator runs entirely in your browser; the text you paste is never uploaded or stored.