JSON Formatter & Validator
Format, validate, inspect, minify, sort and escape JSON in your browser. Preserve number precision, use a tree view and download your result.
Escape wraps the entire input in a JSON string, including outer quotes. Unescape accepts a JSON string.
Select a key to see its pathPaste JSON or open a file, then choose an action.
Input and output: up to 5 MiB each, 128 levels and 100,000 values.
🔒 Files are processed on your device. We never upload, store or log their contents. About Kitpip
How to use the JSON workbench
Add JSON
Paste JSON, open a UTF-8 file or load the example.
Choose an action
Format, validate, minify, sort object keys, escape or unescape. Switch between text and tree views.
Review and save
Check the result, copy it, download it or use it as the next input.
Guide: inspecting, validating and formatting JSON locally
Exact numbers & duplicate object keys
JavaScript’s built-in JSON.parse converts huge integers like snowflake IDs to 64-bit floats and silently overwrites duplicate object keys. Kitpip parses tokens safely in-browser so large integers, exponent notation and duplicate keys remain intact (and duplicate key counts are surfaced honestly).
Working with large payloads & tree search
Supports inputs and outputs up to 5 MiB, 128 nesting levels and 100,000 values. Text output stays complete across all 100,000 values, while the interactive Tree view displays up to 1,000 values with live key/value search and one-click JSONPath copying. Also see File Hash Checker and QR Code Generator.
Questions
Is my JSON uploaded?
No. Processing stays in this browser. Your JSON is not uploaded or saved by this tool.
Are large numbers and arrays preserved?
Numbers keep their original digits and notation. Sorting changes object keys recursively and preserves array order. Duplicate object names are retained and reported.
What are the limits?
Input and output are limited to 5 MiB each, 128 nested levels and 100,000 values. The tree displays up to 1,000 values; the complete result remains available as text.
What does escaping do?
Escape wraps the complete input as a JSON string with outer quotes. Unescape decodes a JSON string into text, which may or may not be a JSON document.
More free tools
File Hash Checker
Get SHA-256, SHA-1 and MD5 checksums of any file.
UtilityQR Code Generator
Create QR codes for links, Wi-Fi, email and text. Download PNG or SVG.
ImageCompress Image
Shrink JPG, PNG and WebP files without visible quality loss.
PDFMerge PDF
Combine several PDFs into one, in the order you choose.