Characters to Tokens Converter
Convert characters to tokens for LLM prompts. 1,000 characters ≈ 233.3 tokens.
To convert characters to tokens, enter your value above and the result appears as you type. 1 character ≈ 0.23 tokens, so multiply by 0.23. 100 characters is about 23.3 tokens, and 1,000 characters is about 233.3 tokens. These ratios are measured by encoding representative English prose with the o200k_base vocabulary, not estimated by the "divide by four" rule of thumb — switch the content type to code, JSON or CJK and the numbers change substantially.
Runs in your browserAbout converting CHARACTERS to TOKENS
1 character ≈ 0.23 tokens, so multiply by 0.23. 100 characters is about 23.3 tokens, and 1,000 characters is about 233.3 tokens. Characters are exact and easy to count, which is why the "divide by four" shortcut caught on — and why it misleads on anything that is not English prose. A token is the unit both the context window and the invoice are measured in. Common words are one token; rarer words split into two or three.