Words to Tokens Converter — How Many Tokens Is Your Text?
Convert words to tokens (and tokens to words) for GPT-4o, Claude, and Gemini. Estimate from a word count or paste text for an exact count with OpenAI's tokenizer. 100% local.
Last updated:
CommentsFor typical English text, 1,000 words is about 1,333 tokens, and 1,000 tokens is about 750 words — OpenAI's rule of thumb is roughly 0.75 words per token (or ~1.33 tokens per word). Enter a word count for an instant estimate, or paste text to count exact tokens with OpenAI's tokenizer. Everything runs in your browser.
Convert a number of words ↔ tokens
Estimate without pasting any text. Pick the content type for the best ratio.
Count exact tokens in your text
Paste text for an exact token count using OpenAI’s o200k_base tokenizer (GPT-4o / GPT-5).
Words → tokens reference table
| Words | Estimated tokens |
|---|---|
| 100 | 133 |
| 250 | 333 |
| 500 | 667 |
| 750 | 1,000 |
| 1,000 | 1,333 |
| 1,500 | 2,000 |
| 2,000 | 2,666 |
| 5,000 | 6,665 |
| 10,000 | 13,330 |
Estimates only — exact counts depend on the actual words and the model’s tokenizer. Everything runs in your browser.
What is Words to Tokens?
Large language models don't bill by words — they bill by tokens, the subword pieces their tokenizer splits text into. For plain English the relationship is stable enough to estimate: about 0.75 words per token, so 100 tokens ≈ 75 words and 1,000 words ≈ 1,333 tokens. The ratio shifts with content: punctuation-heavy or technical text, source code, and non-English (especially CJK and accented) text all pack more tokens into each word because rare strings split into several tokens. This converter works both directions — give it a number of words to estimate tokens, or a number of tokens to estimate words — and lets you pick a content profile for a better ratio. When you need the real number rather than an estimate, paste the actual text: the tool runs OpenAI's o200k_base BPE tokenizer (the one GPT-4o and GPT-5 use) locally and returns the exact count, alongside word and character totals.
How to convert words to tokens
- 1To estimate, type a number of words (or tokens) and read the converted value — pick the content type for a better ratio.
- 2For an exact count, paste your real text into the second box.
- 3Use the reference table to sanity-check common word counts against token totals.
Use Cases
Fit a prompt in the context window
Estimate whether a draft of N words will fit a model's token limit before you paste it.
Budget API cost
Turn an expected word count into tokens to estimate input/output cost up front.
Size a document for RAG
Convert a corpus word count into tokens to plan chunking and embedding spend.
Key Concepts
- Token
- A subword unit produced by the model's tokenizer; common words are one token, rare/long words are several.
- Exact token count
- Paste text to count with the real o200k_base tokenizer instead of the ratio estimate.
- Context window
- The total token budget per request — the reason word→token conversion matters.
Tips & Best Practices
- ▸The ~0.75 words/token ratio is for English prose; code and non-English text run denser, so use the content profile.
- ▸When precision matters (billing, context limits), always use the exact count — the ratio is only an estimate.
Frequently Asked Questions
How many tokens is 1000 words?
About 1,333 tokens for typical English prose. OpenAI's rule of thumb is ~0.75 words per token, so 1,000 words ≈ 1,333 tokens and 100 tokens ≈ 75 words. Code and non-English text use more tokens per word.
How many words is 1000 tokens?
Roughly 750 English words. Since ~1.33 tokens map to one word, dividing 1,000 tokens by 1.33 gives about 750 words. Dense or multilingual text yields fewer words per token.
Why do tokens not equal words?
LLMs use subword tokenization (BPE). Common words are a single token, but rare words, long words, punctuation, and non-English characters split into several tokens. That's why the ratio is an estimate — paste your actual text here for the exact count.
Is this count exact?
The 'paste text' panel is exact for GPT-4o / GPT-5 (it uses OpenAI's real o200k_base tokenizer). The number-to-number converter is an estimate based on the ~0.75 words-per-token ratio and the content type you pick.
Try Next
Text Chunker
Split long text into overlapping chunks for embedding and RAG pipelines. Preview recursive, paragraph, sentence, or fixed strategies with live token counts. Runs 100% in your browser.
Related Tools
Cosine Similarity
Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.
AI Cost Calculator
Estimate monthly LLM API cost across GPT-4o, Claude 3.5, Gemini, DeepSeek and 100+ models. Compare providers side-by-side with prompt-caching and batch discounts. Free, no signup — prices refreshed daily from the public LiteLLM catalog.
Token Counter
Count tokens in your prompt for GPT-4, GPT-3.5, Claude, and Gemini and predict API cost before you spend. Free, no signup — all counting runs locally, your prompt stays in your browser.
LLM JSON Extractor
Extract every JSON object or array buried inside an LLM reply — even when it's wrapped in markdown fences, mixed with explanation text, or has trailing commas and single quotes. Auto-repairs each block. 100% local.
Context Window Checker
Check whether your prompt fits a model's context window before you send it. Estimates prompt tokens, reserves room for the response, and shows remaining headroom across GPT-4o, o1, Claude, Gemini, DeepSeek and more. 100% local.
Prompt Token Breakdown
Break a prompt into segments and see how many tokens — and how much cost — each part uses. Find the heaviest section (system, few-shot examples, or user input) so you know exactly what to trim. 100% local.