How to use it
Paste JSON, then choose Format or Minify. Syntax errors are shown below the output. Number spelling and object key order are preserved. Duplicate keys are preserved; this is a syntax validator, not a JSON Schema validator.
Format, validate or minify JSON locally. Preserve number values and key order, then copy or download the result.
● Text stays on your devicePaste JSON, then choose Format or Minify. Syntax errors are shown below the output. Number spelling and object key order are preserved. Duplicate keys are preserved; this is a syntax validator, not a JSON Schema validator.
Your input and output stay in this browser. No account, upload or server processing is required.
Paste the JSON, choose 2 or 4 spaces and select Format JSON. Use Minify JSON when you want the whitespace removed, then copy or download the result.
The input {"invoice":9007199254740993,"paid":false} is formatted without rounding the large integer to another value. The formatter preserves numeric spelling and key order instead of rebuilding the output from parsed JavaScript numbers.
JSON requires double-quoted keys and strings. Comments, trailing commas, undefined and single-quoted strings are not valid JSON. Duplicate keys remain present, so syntax success does not establish that a consuming application will interpret the document as intended.
No. It checks JSON syntax, not JSON Schema or business rules. A valid object can still be missing a required property or contain the wrong kind of value.
The tool processes text locally, but your clipboard, browser extensions and device can still access sensitive material. Prefer redacted sample configuration when troubleshooting or sharing an output.
Continue your workflow: URL Encoder & Decoder or Word & Character Counter Free.
Need help or found an incorrect result? Report a tool issue. Read how files and text are handled.