Developer Tools
Measure JSON size in bytes, characters, and formatted vs minified versions.
Use this JSON Size Calculator to measure how large a JSON payload is in characters and UTF-8 bytes, and to compare formatted and minified output sizes. It is useful for API debugging, payload budgeting, request limit checks, webhook analysis, and understanding how much space JSON takes before transport or storage. The tool also gives a compact summary for valid JSON input.
Use this JSON Size Calculator to measure how large a JSON payload is in characters and UTF-8 bytes, and to compare formatted and minified output sizes. It is useful for API debugging, payload budgeting, request limit checks, webhook analysis, and understanding how much space JSON takes before transport or storage. The tool also gives a compact summary for valid JSON input.
Use json size calculator when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.
Read step-by-step usage guidance, best practices, and common mistakes.
See common questions and answers about input, output, and tool usage.
Review practical input and output examples before running the tool.
Find similar and supporting tools for adjacent actions and follow-up tasks.
Input
{"name":"Anna","role":"admin"} Output
{
"characters": 30,
"utf8Bytes": 30,
"minifiedCharacters": 30,
"formattedCharacters": 39
} Useful for understanding the size of a small compact object.
Input
{"message":"Привет"} Output
{
"characters": 20,
"utf8Bytes": 26,
"minifiedCharacters": 20,
"formattedCharacters": 25
} Useful when character count and byte count differ because of Unicode.
Fix: Validate or format the JSON first so the size can be calculated correctly.
Fix: Unicode characters can take more than one byte in UTF-8.
Fix: This tool measures valid JSON payloads, not arbitrary text.
Fix: This tool measures raw JSON size, not compressed transport size.
Fix: Check both formatted and minified counts to understand the real difference.
It measures character count, UTF-8 byte size, and compares formatted and minified JSON lengths.
Because some Unicode characters use more than one byte in UTF-8.
No. The tool expects valid JSON so it can calculate accurate structured sizes.
Formatted JSON includes indentation and line breaks, while minified JSON removes unnecessary whitespace.
No. It shows raw JSON size, not gzip or transport-compressed size.