JSON Formatter and Validator
Format, minify, validate, and sort JSON in your browser, with error messages that point to the exact line and column of a syntax problem.
Open tool
Writing tool
Count words, characters, sentences, and paragraphs, estimate reading and speaking time, and get a rough LLM token estimate for any text.
Token counts vary by model and tokenizer. Use the estimate for budgeting only; use the model provider’s tokenizer for exact counts.
Advertisement
Paste or type text into the box. The statistics update as you type, and nothing leaves your browser.
Intl.Segmenter, which follows Unicode word-boundary rules. Contractions such as “don’t” count as one word, and punctuation is ignored.., !, ?, or …. Abbreviations such as “e.g.” can inflate this count, so treat it as approximate.Reading time assumes 225 words per minute, a common figure for adults reading non-fiction on screen. Speaking time assumes 140 words per minute, a comfortable pace for presentations. Dense technical material, code, and mathematics take longer, so pad estimates for those.
Large language models process text as tokens rather than words. A token is often a word fragment: “tokenization” might become “token” and “ization”. For English prose, a widely used rule of thumb is that one token is about four characters, or roughly three quarters of a word.
The estimate here is simply the character count divided by four. Real counts depend on the model’s tokenizer and on the text itself:
Use the estimate for quick budgeting, such as checking whether a document is likely to fit in a context window. For exact counts, use the tokenizer published by your model provider.
Format, minify, validate, and sort JSON in your browser, with error messages that point to the exact line and column of a syntax problem.
Open tool
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support and an optional URL-safe alphabet for tokens and URLs.
Open tool
Convert Unix timestamps in seconds or milliseconds to readable UTC and local dates, and convert dates back to timestamps, with live current time.
Open tool