Make a response readable
Choose two spaces, four spaces or tabs. Minify removes unnecessary whitespace while keeping your array order.
A LITTLE ORDER FOR YOUR DATA
Format, validate and inspect JSON without sending your document to a server. Catch duplicate keys and protect large identifiers before they cause trouble.
No sign-in, no data upload.
Up to 2 MiB of UTF-8 text.
Only standard JSON. Comments and trailing commas are not supported.
Output is generated only after successful validation.
Paste a document or load the example to begin.
Root depth is 0. Keys are counted separately from values.
Choose two spaces, four spaces or tabs. Minify removes unnecessary whitespace while keeping your array order.
Duplicate object keys are rejected, including escaped equivalents. Large numbers need to be strings before you proceed.
Sort keys in every object for a cleaner comparison. Numeric spellings are preserved; this is formatting, not a canonical signature tool.
UNDERSTAND WHAT CHANGED
Find practical examples for quoted keys, trailing commas, duplicate names and large IDs in the JSON guide.
The tool reads and transforms the text in your browser. It does not upload JSON to our server, use analytics or save your document in browser storage. Avoid sensitive data on shared devices, and remember that your browser, clipboard and operating system are outside this tool’s control.
Numeric values outside ±9,007,199,254,740,991 are rejected. Put account IDs, order IDs and other large identifiers inside double quotes. Numeric tokens within the limit retain their original decimal or exponent spelling in the output.
No. This tool accepts standard JSON, which requires double-quoted strings and keys. JavaScript object literals, JSON5 and JSON with comments need to be converted first.
No. Download creates a new file on your device when you ask. Your input file is never overwritten. Reloading or leaving the page can clear your work.