How this tool computes its result
Validates JSON via JSON.parse(), capturing syntax errors with position information and converting to line/column numbers for user-facing error reporting. Formatting beautifies by parsing and re-stringifying with a specified indent (2, 4, 1, or 0 spaces). Minification re-stringifies with no indent (indent 0). Stats panel reports line count, character count, and byte size via Blob. All operations are client-side with no network calls.
