Paste any prompt or document to estimate its token count, preview per-model API costs, and see how much of a 128K or 200K context window it would consume.
Your input is processed in your browser and is not stored by us.
Remove greetings, repeated instructions and filler phrases from prompts. Moving shared instructions into the system prompt (sent once) instead of every user message can cut token spend by 30–50% on multi-turn workflows.
Markdown tables, bullet lists and JSON compress the same information into far fewer tokens than prose. Ask models to "respond as a table" when you only need the data.
Cheap, fast models (Flash-class) handle classification, extraction and formatting at a fraction of flagship cost. Reserve frontier models for reasoning-heavy work — the cost table above shows why this matters at scale.
Drop in a prompt, system message, article, or document — or load the sample. Everything is analyzed locally in your browser; nothing is uploaded.
The estimate blends ~4 chars/token and ~0.75 words/token heuristics. Code, JSON and non-Latin scripts tokenize less efficiently, so treat those estimates as lower bounds.
The bars show what fraction of a 128K or 200K context window your text would occupy — essential before stuffing long documents into a prompt.
See what this text would cost as input vs. output tokens on GPT-4o, Claude Sonnet and Gemini 2.0 Flash at approximate 2026 prices.
This is a heuristic estimate, not a vendor tokenizer. For billing-grade precision, validate with the provider's own tokenizer before committing to large workloads.
Fewer, better-chosen tokens beat more tokens. Structure your prompt properly before you send it.
Estimates only: token counts are heuristic approximations, not vendor tokenizer output. Prices are approximate 2026 public list rates — always verify current pricing on the vendor's own page before budgeting. Your text is processed entirely in this browser.
Text & Developer Tools
Turn rough prompts into structured ROLE / TASK / CONSTRAINTS / FORMAT prompts with a deterministic template — plus a 5-point prompt health check.
Text & Developer Tools
Catch double spaces, repeated words, common misspellings, a/an errors, and commonly confused words with a free basic grammar check. Private, runs in your browser.
Text & Developer Tools
Count characters with and without spaces, and check how much room you have left against tweet, meta title, meta description, and SMS limits. Free and private.
Text & Developer Tools
Pick any colour interactively and get its HEX, RGB and HSL values instantly, with one-click copy, tints, shades and text-contrast guidance. Free. Your input is processed in your browser and is not stored by us.
Text & Developer Tools
Check the WCAG contrast ratio between any two colours. See instant AA and AAA pass/fail results for normal and large text, with a live preview.
Need a custom tool?
We build calculators and internal tools for businesses — get in touch.
Directory last updated 2 December 2026.