Payload Analysis
Payload Size Analyzer
Measure UTF-8 bytes, JSON minification savings, character counts, and estimated transfer volume locally in your browser.
Body-size summary
Results
Use the sample or paste the payload you want to measure.
Transfer estimates multiply uncompressed body bytes by the request count. They exclude headers, protocol framing, TLS, retries, provider envelopes, and response data.
Read the number correctly
Characters and transfer bytes are not interchangeable.
UTF-8 uses one byte for many common ASCII characters and multiple bytes for many other characters. That is why the analyzer encodes the actual text instead of using a JavaScript string length as a byte count.
- 1Measure UTF-8 bytes
The exact body-size result comes from the browser's UTF-8 encoder and includes every space and line break.
- 2Keep units explicit
Decimal KB uses 1,000 bytes. Binary KiB uses 1,024 bytes. Both are shown so the label never hides the conversion.
- 3Minify without changing values
For valid JSON, formatting and minification preserve the original string, number, and escape spellings. Only insignificant whitespace changes.
- 4Separate size from compression
Minification removes JSON whitespace. Network compression can reduce transfer size further, but its result depends on content and configuration.
Planning estimate: This tool measures a body string, not a captured network exchange. Confirm production transfer sizes with your own client, server, compression settings, protocol, and representative payloads. Learn when and how an API response can be cached safely. Compare gzip and Brotli on three reproducible fixtures.