Data

JSON Toolkit

Validate, format and minify JSON, with a tree view and JSON Schema.

Choose a mode

JSON

Size: 0 BLines: 0Characters: 0

Ctrl+Enter — format

Paste JSON — validation runs automatically.

Tree

Paste JSON on the left to see the tree here.

How to use
  1. Paste JSON into the editor or upload a file — it is validated automatically.
  2. Click “Format” (2 or 4 spaces) or “Minify”. The result replaces the editor content.
  3. The tree appears on the right. If the JSON is invalid, the tree is replaced with the line, a snippet and a hint.
  4. Switch to “Validate against JSON Schema”, paste a schema on the right — violations appear with paths to the fields in the document.
  5. Copy the result or download it as a .json file.
  • The limit is 5 MiB per document. Even large files are processed without freezing the page.
  • External $ref links are not supported: a schema never loads anything from the network.
  • Schema validation does not convert values to other types and does not fill in default values.