Analyze JSON Size
Calculate size, analyze structure, and optimize your JSON data. Paste your JSON to get started.
Paste JSON to check its UTF-8 text size in bytes, KB, or MB. Compare raw, minified, and Gzip sizes in your browser.
Analyze JSON Size
Calculate size, analyze structure, and optimize your JSON data. Paste your JSON to get started.
Check JSON data size, byte count, and Gzip compression potential in 3 simple steps
Copy your JSON string and paste it into the editor, or upload a .json file. The calculator instantly analyzes your data structure and provides detailed size metrics.
{
"status": "ok",
"items": [
{
"name": "café",
"price": 10
},
{
"name": "tea",
"price": 5
}
]
}Compare the UTF-8 size of the input with the reserialized minified JSON and its Gzip size. In this example, é takes two bytes in UTF-8. Gzip output may differ from the size sent by a server.
Export your size analysis as a text file or copy to clipboard. Perfect for documentation, performance reports, or sharing with your team.
Common questions about JSON size calculation and optimization
Edit, format, and beautify JSON
Validate, fix, and inspect JSON
Compare, measure, and map JSON
Convert JSON to other formats
Convert other formats to JSON
Convert, format, fix, and minify XML
Generate code and format other languages