JSON tools
JSON Schema Generator & Validator
Create a practical schema from sample JSON, or validate data against a schema with paths, rules and actual values.
All data is processed locally in your browser. Nothing is uploaded or sent to analytics.
Most tools process locally in your browser. Background removal uploads selected images to the configured server processor and deletes the source after processing.
Sponsored linkLearn more →
How to use
- Choose Generate or Validate.
- For generation, paste sample JSON and choose the draft and required-field option.
- For validation, paste both JSON and Schema to see every detected error.
Great for
- Documenting an API contract
- Checking imported data
- Creating a starting schema for a project
Good to know
Generation infers types from one sample. Validation covers common type, required, enum, length, pattern and nested property rules.
Frequently asked questions
Which drafts are available?
Draft-07 and 2020-12 identifiers are available for generated schemas.
Does validation stop at the first error?
No. All supported nested errors are collected and shown together.
You may also like
JSON Formatter & Validator
Format, validate, minify and inspect JSON with line-aware errors, statistics and safe local processing.
Open tool →JSON Diff
Compare two JSON documents by structure and see added, removed and changed paths without formatting noise.
Open tool →JSONPath Tester
Test safe JSONPath expressions, inspect matched values and copy their original paths locally in your browser.
Open tool →