Private by default

JSON Size Analyzer and Structure Report

Inspect payload weight and structural complexity before storing, reviewing, or transporting JSON.

Your data stays in this browser
Input JSONJSON
UTF-8Ln 1, Col 1
ResultJSON
UTF-8
Loading…
Browser-only autosaveInputs and settings stay saved only in this browser and return after a reload. Turn on Clear saved data to keep this tool session-only.
Your data stays in this browser
InstantNo server round trips
PrivateBrowser-side processing
AuditableDocumented semantics
PortableCorrectly typed downloads
Category

JSON Size Analyzer: How to use this tool

Measure exact UTF-8 source, formatted, and minified byte sizes together with savings, node, key, depth, object, and array counts.

Inspect payload weight and structural complexity before storing, reviewing, or transporting JSON.

Open guide and examples

How to use this tool

  1. Paste JSON, upload a local file, or load a CORS-enabled public URL.
  2. Choose the formatted indentation baseline and run Analyze JSON size.
  3. Review the result, then copy it or download it with the correct file type.

Example to try

Input JSON
{
  "message": "नमस्ते JSON 👋",
  "records": [
    {"id": 101, "active": true, "tags": ["api", "public"]},
    {"id": 102, "active": false, "tags": ["batch"]}
  ],
  "metadata": {
    "region": "ap-south-1",
    "retry": null
  }
}
Result
{
  "bytes": {
    "sourceUtf8": 246,
    "formattedUtf8": 334,
    "minifiedUtf8": 194,
    "minifiedSizeChange": -52,
    "minifiedSizeChangePercent": -21.14,
    "minifiedSavings": 52,
    "minifiedSavingsPercent": 21.14
  },
  "structure": {
    "nodes": 17,
    "keys": 11,
    "maxDepth": 5,
    "objects": 4,
    "arrays": 3,
    "primitiveValues": 10
  }
}
Learn

Frequently asked questions

Does this tool upload my JSON?

No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.

What happens when the JSON is invalid?

The editor marks the likely location and keeps stale output out of the result pane.

What does JSON Size Analyzer produce?

It emits a typed JSON report with byte metrics, minification savings, container counts, primitive count, and maximum depth.

What limitation applies to JSON Size Analyzer?

Formatted and minified sizes preserve number and string token spelling while normalizing whitespace; duplicate object names are rejected because structural counts would be ambiguous.