JSON Studio

Validate, format and compare JSON. Explore nested values and copy a path.

Runs on your device. Inputs are not uploaded or saved automatically.

Back to Play & Learn

Your result will appear here.

Keep experimenting

How to validate, format and compare JSON

Paste an API response or configuration into Source JSON. Choose Validate & format to check its syntax and indent the result, or Minify to remove formatting whitespace. JSON requires double-quoted property names and does not accept comments or trailing commas.

To compare two documents, put the second one in Comparison JSON and choose Compare JSON. The result lists added, removed and changed values at their paths. Object property order is ignored; array order matters.

Read a comparison result

If one document has {"active":true} and the other has {"active":false}, the result shows a changed value at $["active"]. Compare the before and after values before applying a change to your application.

After formatting, expand the value tree and use Copy path to copy a bracket-notation path. Copy source copies the left input. Download JSON exports that input, including formatting changes you have applied; it does not export a difference report.

Input and display limits

Each input accepts up to 50,000 characters. Comparison shows at most 200 differences. The value tree displays up to 100 entries per object or array and stops expanding after 12 nested levels. Keep the original file when inspecting a larger document.

Privacy and saving

Validation and comparison run in this browser. Inputs are not uploaded or saved automatically. Copy or download your result before leaving the page.

Browse coding tools · Compare plain text · Privacy details