DEVELOPER & CODE · LOCAL WORKBENCH

JSON Size Analyzer

Measure compact UTF-8 JSON by key, compare real gzip size, and estimate repeated array-field costs locally.

DEVELOPER & CODE · LOCAL WORKBENCH · BROWSER WORKSPACE

Find the field eating the payload. Measure what gzip hides.

Measure compact UTF-8 JSON by key, compare real gzip size, and estimate repeated array-field costs locally.

01 · API RESPONSECOMPACT UTF-8 BYTES
What counts toward a field?

Its key, quotes, colon, value and following comma in compact JSON. Braces and brackets stay in the total but are not assigned to a key.

02 · PAYLOAD BREAKDOWN8 FIELD GROUPS
COMPACT JSON573 B573 UTF-8 bytes
REAL GZIP…
BIGGEST FIELDitems[].thumbnailBase64234 B · 40.8% of total
KEY NAMES153 B26.7% of raw payload
items[].thumbnailBase64 takes 40.8% of the raw response. Start by checking whether that field needs to be included in every response.
BY FIELD · TOP 30ARRAY SCALE 1000
items[].thumbnailBase64234 B
40.8% share2 occurrences117 B each114.3 KB at 1000
items[].description202 B
35.3% share2 occurrences101 B each98.6 KB at 1000
items[].name32 B
5.6% share2 occurrences16 B each15.6 KB at 1000
items[].inStock31 B
5.4% share2 occurrences16 B each15.1 KB at 1000
items[].price26 B
4.5% share2 occurrences13 B each12.7 KB at 1000
items[].id14 B
2.4% share2 occurrences7 B each6.8 KB at 1000
total10 B
1.7% share1 occurrence10 B each10 B at 1000
page9 B
1.6% share1 occurrence9 B each9 B at 1000
03 · IF YOU REMOVE A FIELDESTIMATED RAW BYTES
items[].thumbnailBase64
339 B remaining−40.8%
About 114.3 KB per 1000 array items.
items[].description
371 B remaining−35.3%
About 98.6 KB per 1000 array items.
items[].name
541 B remaining−5.6%
About 15.6 KB per 1000 array items.
items[].inStock
542 B remaining−5.4%
About 15.1 KB per 1000 array items.
items[].price
547 B remaining−4.5%
About 12.7 KB per 1000 array items.
items[].id
559 B remaining−2.4%
About 6.8 KB per 1000 array items.

Removing a field can also change commas, braces and empty containers; figures are byte contributions to help compare candidates.

◎

Runs in this browser. JSON is parsed and measured locally. Gzip size comes from this browser’s CompressionStream and may vary slightly by runtime.

Back to the tool library ↗

Need a feature from the original version? Open the current ECECH tool

How this app works

Measure compact UTF-8 JSON by key, compare real gzip size, and estimate repeated array-field costs locally. Results update as you adjust inputs and stay in this browser.