PixNudge

JSON Schema Validator & Generator

Validate JSON against a JSON Schema and see every error with its path, or generate a schema from sample JSON. Supports drafts 4, 7, 2019-09 and 2020-12.

JSON data
JSON Schema

Enter JSON data and a schema to validate.

How it works

  1. 1

    Paste or open your data

    Paste text, drop a file onto the editor or click Open file. Load sample shows how the tool works.

  2. 2

    Adjust the options

    The result updates as you type. Change the options to get exactly the output you need.

  3. 3

    Copy or download

    Copy the result to the clipboard or download it as a file.

Why PixNudge

Nothing is uploaded

Your data is processed in your browser and never sent to a server, so API keys, tokens and customer data stay private.

Instant, even for large files

There is no round trip to a server: results appear as you type, and files of several megabytes are handled smoothly.

Exact numbers

Long numbers such as 64-bit IDs are kept exactly as written instead of being rounded.

Frequently asked questions

Which JSON Schema versions are supported?

Draft 4, draft 7 (which also covers draft 6), 2019-09 and 2020-12. With Auto, the version is taken from the $schema keyword of your schema; without it, 2020-12 is used.

Are formats like email and date-time checked?

Yes. Formats such as email, date, date-time, uri, uuid and ipv4 are validated, and so are patterns, enums, minimum and maximum values, lengths and required properties.

How do I create a schema from my JSON?

Switch to Generate schema and paste a sample. Every value gets a type, nested objects and arrays are described too, and string formats such as dates and emails are detected. The items of an array are merged, so keys missing from some items are not marked as required. Click Validate with this schema to try it right away.

More free tools