Instantly lint, format, escape, unescape & validate and more online.

Drag & Drop, paste or type your JSON snipet below, and let PrettyJSON lint and prettify it.

|

Validate your JSON data against a JSON schema. It supports draft 2020-12 and draft-7 specifications.

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 Query
Options -c (Compact output)

JSON input

Output

Convert JSON to CSV.

JSON input

CSV output

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