JSON Size
Byte and char length of JSON text.
Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.
What JSON Size does
Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.
Practical limit for JSON Size: Valid JSON only. Bytes and chars. That is why output can differ from heavy desktop Developer software. Read the tool-specific note again: Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.
How to use JSON Size
- Keep this tab on JSON Size (/developer/json-size). Pasting into the wrong Developer tool (for example Is JSON) changes the job.
- Paste or type the input JSON Size expects. Path hint: developer · json size. Byte and char length of JSON text.
- Apply the JSON Size action only. UTF-8 Byte Length is a different transform (UTF-8 bytes, code points, and UTF-16 code units.). Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.
- Copy the output of JSON Size if you need it elsewhere. Size/complexity still follows: Valid JSON only. Bytes and chars.
- If the text job is actually JSON validity with type and byte size., leave JSON Size and open Is JSON.
When not to use JSON Size
Skip JSON Size when a neighbor tool matches better — start with Is JSON or UTF-8 Byte Length — or when the description already warns the job will fail. In the tool’s own words: Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.
Questions about JSON Size
- What does JSON Size do that other Developer pages on this site do not?
- Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails. Short version: Byte and char length of JSON text.
- Does JSON Size upload my file or text to Tool-You servers?
- No. JSON Size runs in this browser tab. Files stay on the device. Limit note: Valid JSON only. Bytes and chars.
- Should I use Is JSON instead of JSON Size?
- Use JSON Size when you need Byte and char length of JSON text. Use Is JSON when you need JSON validity with type and byte size. They share a category (Developer) but not the same job.
- What are the limits of JSON Size?
- Valid JSON only. Bytes and chars. Also: Validates JSON then reports UTF-8 bytes and character length. Unlike Is JSON this also prints sizes. Unlike UTF-8 Bytes this requires valid JSON first. Invalid JSON fails.