Infer JSON Schema
Build a draft JSON Schema describing the supplied sample data.
Result
Enter your values. Your result will appear here.
How it works
- Inspect the example or enter your own input.
- Check the units and operation, then run the tool.
- Review the result, then copy or download it. Keep a copy of your original data.
Example & practical use
Starting example: Input: {"name":"Mug","price":12.5,"tags":["ceramic"]}
Limits and help
Sample inference cannot discover business rules, optional fields absent from the sample or all possible values. Review the schema before validation. Runs on your device without uploading input. Maximum 200,000 characters per field; numeric calculations use finite JavaScript numbers unless exact integer/decimal arithmetic is stated.
Your files are yours.
Image and text processing happens in your browser. Your files are not uploaded to our servers.
Troubleshooting
Valid JSON uses double quotes and does not allow comments or trailing commas. Check the error location. Compare large numeric identifiers with the original; represent identifiers as strings when your format permits.