Measure a small object
Input
{"name":"Anna","role":"admin"} Output
{
"characters": 30,
"utf8Bytes": 30,
"minifiedCharacters": 30,
"formattedCharacters": 39
} Useful for understanding the size of a small compact object.
Developer Tools
Review practical JSON Size Calculator examples so you can understand expected input, output, and common patterns faster.
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.
Example pages are especially useful for developer tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
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.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main JSON Size Calculator page and test your own real input.