Format, validate, and transform JSON with syntax highlighting and error detection.

Paste or type your JSON below. Use Ctrl+Z to undo and Ctrl+Shift+Z to redo.

|

Validate JSON against JSON Schema drafts 2020-12 and 7 with detailed error reporting.

The validate button will only work if both JSON input and schema are valid.
JSON input

JSON Schema

Slice, filter, map and transform your JSON data using JQ.

The apply filter button will only work if the JSON input is valid.
JQ Quick Reference
Arrays .items[] .items[0] .items[-1] .items[1:3] .items | length [.items[] | .id]
Objects .key ."complex-key" keys del(.key) {a, b}
Piping & Filtering .items | .[0] .items[] | select(.id > 5) .items | map(.id) .items[] | .name . as $x | ...

Saved Filters

JQ Query
Options -c (Compact output)

JSON input

Output

Convert JSON arrays to CSV format instantly—perfect for spreadsheets and data analysis.

JSON input

CSV output

Convert CSV data to JSON format—transform spreadsheets into structured JSON effortlessly.

CSV input

JSON output

Compare two text files and see the differences highlighted like git diff.

Original file
Modified file

Note: The editor allows using Ctrl-z for undoing and Ctrl-Shift-z for redoing!