JSON Text Size Calculator
Measure the UTF-8 byte size of JSON text and see the equivalent size in kilobytes.
How to use JSON Text Size Calculator
1. Enter JSON Text. 2. Whitespace and escapes remain as entered. This measures UTF-8 text bytes without parsing, validating or serialising JSON. It does not measure compressed network transfer or an object’s memory usage. 3. Select Calculate or press Enter. 4. Select Copy result to copy the answer, or Reset to clear the form and result.
Why use this tool?
Whitespace and escapes remain as entered. This measures UTF-8 text bytes without parsing, validating or serialising JSON. It does not measure compressed network transfer or an object’s memory usage.
How the calculation works
Encode the exact entered text as UTF-8 and count bytes; decimal KB = bytes ÷ 1000. Whitespace and escapes remain as entered. This measures UTF-8 text bytes without parsing, validating or serialising JSON. It does not measure compressed network transfer or an object’s memory usage. Counts and dimensions use the declared rounding convention; other numbers display up to three decimal places where applicable. Nonzero subsecond durations are labelled. Durations round to the nearest second; nonzero subsecond durations are labelled. File-size output units are decimal. Changing an input label does not convert filled values.
Example
Worked example: JSON Text = "{\"x\":\"é\"}". Result: 10 bytes (0.01 KB).
Practical tip
Check the input labels and assumptions against the json text size task before reusing the number.
Frequently asked questions
What exactly does JSON Text Size Calculator calculate?
Encode the exact entered text as UTF-8 and count bytes; decimal KB = bytes ÷ 1000.
Which units or counting rules apply?
Whitespace and escapes remain as entered. This measures UTF-8 text bytes without parsing, validating or serialising JSON. It does not measure compressed network transfer or an object’s memory usage.
Does this inspect, change or upload my files?
This page calculates the entered values or text in the browser. Numeric image/media tools do not transform files. Check the worked example and stated counting basis; the result does not certify device, search-engine or accessibility outcomes.