Prompt Length Counter
Live character, word, line and token estimates, checked against common model context limits.
FreeNo sign-up
Input
Characters
0
Characters (no spaces)
0
Words
0
CJK characters
0
Lines
0
Sentences
0
Paragraphs
0
Tokens
≈ 0
Model context limits
- GPT-4o / GPT-4.1Within limit · 128,000
- Claude SonnetWithin limit · 200,000
- Gemini 1.5 ProWithin limit · 1,000,000
- DeepSeek V3Within limit · 64,000
- Qwen MaxWithin limit · 32,000
Token counts are estimates: 1 token per CJK character and roughly 4 Latin characters per token. Only the provider's tokenizer is exact.
- Reading time
- <1 min
- Speaking time
- <1 min
Live character, word, line and token estimates, checked against common model context limits.
Prompts have a budget. Models cap context, APIs bill by token, and long prompts dilute the instructions that matter. This tool counts characters, words, lines and estimated tokens live, and checks the total against five common model limits so you know how much room is left before you send anything.
How to use it
- 1Paste the prompt — every figure updates as you type.
- 2Find the model row that turns red: that is the limit you have exceeded.
- 3For mixed-script text, watch the CJK count — each Chinese character costs roughly one token, far more than a Latin letter.
FAQ
Related tools
- Midjourney Prompt GeneratorPick subject, style and parameters to build a ready-to-paste prompt with --ar and --stylize.
- Prompt FormatterTurn messy tags into a clean comma or line separated list — dedupe, sort and strip weights.
- Prompt CleanerStrip stray blank lines, zero-width characters, Markdown marks and mixed punctuation from copied prompts.
- AI Text CleanerRemove blank lines, double spaces, line numbers, markdown bold and canned AI openers in one pass.
- Prompt Diff CheckerCompare two prompt versions line by line, with added/removed highlights and a similarity score.
- Token Cost CalculatorEstimate the cost of a call from input/output tokens and per-million pricing, in USD or CNY.
- Prompt Variable GeneratorWrite a template with [placeholders] and expand every variable combination into a full prompt list.
- Prompt Library ManagerSave, tag and search your prompts in local storage, with JSON backup.