JSON Schema Generator and Validator
Generate a JSON Schema from a sample in one paste, or switch to Validate to check JSON against a schema you already have. There is also a visual schema builder if you prefer to design one from scratch.
How to use it
- Paste a sample JSON document.
- The generated schema appears in the Output box.
- To validate, choose Validate against schema and paste the schema in the second box.
What it does
- Generates types, required keys and formats from a sample
- Validates with clear errors and the path of each one
- Visual Schema builder for designing schemas by hand
- Mock data generator that creates records from a schema
Questions
- Which JSON Schema drafts are supported?
- Generated schemas use draft 2020-12. Validation supports the core keywords of draft-07 and 2020-12.
- Can it load linked schemas?
- Yes, if you allow it: choose Linked schemas: load from the web.
- Can I make test data from a schema?
- Yes. The Mock data tool generates realistic records from a schema or a sample.
More JSON tools
Bracely has more than 60 JSON tools in one page. Related ones:
Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy