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.
01 · API RESPONSE COMPACT UTF-8 BYTES
Paste a JSON payload Restore product example Clear JSON
Group fields byEvery leaf path Top-level keys First two key levels Scale repeated arrays to
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 BREAKDOWN 8 FIELD GROUPS
COMPACT JSON 573 B 573 UTF-8 bytes REAL GZIP … BIGGEST FIELD items[].thumbnailBase64 234 B · 40.8% of total KEY NAMES 153 B 26.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 30 ARRAY SCALE 1000
items[].thumbnailBase64234 B
40.8% share 2 occurrences 117 B each 114.3 KB at 1000
35.3% share 2 occurrences 101 B each 98.6 KB at 1000
5.6% share 2 occurrences 16 B each 15.6 KB at 1000
5.4% share 2 occurrences 16 B each 15.1 KB at 1000
4.5% share 2 occurrences 13 B each 12.7 KB at 1000
2.4% share 2 occurrences 7 B each 6.8 KB at 1000
1.7% share 1 occurrence 10 B each 10 B at 1000
1.6% share 1 occurrence 9 B each 9 B at 1000
03 · IF YOU REMOVE A FIELD ESTIMATED RAW BYTES
items[].thumbnailBase64339 B remaining −40.8%
About 114.3 KB per 1000 array items. items[].description371 B remaining −35.3%
About 98.6 KB per 1000 array items. items[].name541 B remaining −5.6%
About 15.6 KB per 1000 array items. items[].inStock542 B remaining −5.4%
About 15.1 KB per 1000 array items. items[].price547 B remaining −4.5%
About 12.7 KB per 1000 array items. items[].id559 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.
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.
More utilities in this batch Base Converter → Cron Expression Parser → CSP Formatter → Glob Pattern Tester → Hash Generator → ID Timestamp Decoder → JWT Decoder → Regex Tester → Security.txt Generator → Semver Comparator → SQL IN Clause Builder → Text Diff Checker → Browse all tools ↗