How to use this developer tool
- Paste json to measure or load a local file.
- Review any available processing options.
- Select Analyze Size or press Ctrl/Cmd + Enter.
- Check the summary and diagnostics, then copy or download the result.
Compare the UTF-8 size of source, minified, and pretty-printed JSON while also summarizing its structure. Byte counts use the browser TextEncoder, so non-ASCII characters are measured correctly rather than treated as one byte each. Use the result to estimate request payloads, storage overhead, or the impact of removing formatting whitespace.
Compare the UTF-8 size of source, minified, and pretty-printed JSON while also summarizing its structure. Byte counts use the browser TextEncoder, so non-ASCII characters are measured correctly rather than treated as one byte each. Use the result to estimate request payloads, storage overhead, or the impact of removing formatting whitespace.
Nothing is uploaded by the core tool. Closing or refreshing the tab clears the current input.
{
"message": "Hello 🌍",
"items": [
1,
2,
3
],
"enabled": true
}Run the sample to see the generated result and its statistics.JSON Size Analyzer runs with standard browser JavaScript and uses JSON syntax as defined by JSON.parse except where raw-source inspection is required.
Application-specific validation rules and remote references are not inferred. Very large documents are limited by the memory available to the browser tab.
It accepts valid JSON text. Files can also be loaded through the upload or drop area.
No. Processing runs in the current browser tab, and the core operation makes no network request.
Strings are parsed according to JSON rules. Unicode text is preserved, and byte measurements use UTF-8 where size is reported.
The output is cleared and an error message explains the problem. Correct the source and run the operation again.
Treat the result as a reviewable draft. Check schema conventions, naming rules, and application-specific constraints before committing it.
| Operation | Analyze Size |
|---|---|
| Input | JSON text or local file |
| Output | .json download and copy-ready text |
| Privacy | Runs locally in the browser |