/ TOOL · JSON toolkit

JSON Formatter

Format, minify and validate JSON, browse the tree, convert JSON ↔ YAML / CSV, run JSONPath queries and diff two JSON documents. Everything runs locally in your browser.

Example:
Input · JSON
Waiting for input
Output

              
            
/ FAQ

Frequently asked questions

Does this tool send my JSON to a server?

No. The entire JSON Formatter runs in pure JavaScript in your browser — formatting, validation, conversion, JSONPath and diff. Your data is never sent anywhere, there is no backend and no telemetry.

What modes does the JSON Formatter offer?

Four: Format and tree (beautify, minify, live validation, tree view with path copying), Convert (JSON ↔ YAML and JSON ↔ CSV), JSONPath (query your data) and Diff (compare two JSON documents).

How does validation and error detection work?

Validation runs live as you type. If the JSON is invalid, the tool shows a readable message together with the line and column where the error occurred, so you can quickly find a typo or a missing comma.

What is the JSON ↔ YAML / CSV conversion mode?

Conversion turns JSON into YAML and back, and an array of JSON objects into CSV (with headers) and CSV back into JSON. CSV is handled per RFC 4180 — quotes, commas and newlines inside fields are treated correctly.