JSON Schema Generator
Infer a standard 2020-12 JSON Schema from a JSON sample: types, required fields, and email, date and URL formats.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when documenting an API or validating form or config data without writing a schema from scratch: paste a real sample to get a skeleton, then refine it.
For arrays with several items, a field is marked required only if it appears in every item. A schema inferred from a sample knows nothing of your business rules, so add minimum, pattern or enum yourself.
How to use
- Paste the sample JSON.
- Choose whether to guess formats and required fields.
- Copy the schema and add your business constraints.
Frequently asked questions
Are my data files uploaded to the internet?
No. CSV, Excel and JSON files are read and processed in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.
Related tools
More Data tools
JSON Tree ViewerView large JSON as a collapsible tree, search by key or value, and click a node to get its $.a.b[0] path.JSON Table ViewerLay out a JSON array as an easy-to-read table, with nested columns as a.b, then download CSV or Excel.Transpose Table (Rows to Columns)Swap the rows and columns of a CSV table, like Excel's Paste Special Transpose.Descriptive Statistics CalculatorPaste a list of numbers to get the mean, median, mode, standard deviation, quartiles, outliers and a distribution chart.CSV to XML ConverterTurn a CSV table into XML with one tag per row, converting Vietnamese column names into valid tag names.Standard Deviation and Variance CalculatorCalculates standard deviation and variance for a sample or a whole population, with the calculation steps so you can double-check.
See all data tools