๐งฌ JSON Schema Data Generator
Supported types: string, int, float, bool, uuid, date, email
Result will appear here
Define a schema by listing one field per line as fieldName:type (e.g. id:uuid, name:string, age:int), choose how many records to generate, and get a pretty-printed JSON array of dummy data โ handy for mocking API responses or seeding test data. Supported types: string, int, float, bool, uuid, date, and email.
How to use
- In the "Schema" field, list one field per line as fieldName:type.
- Set how many records to generate.
- Click "Generate" to see a pretty-printed JSON array in the output box.
- Click "Copy" to copy the result to your clipboard.
FAQ
What types are supported?
string (a random short word), int (0-1000), float (0-1000 with 2 decimals), bool (true/false), uuid (a random UUID), date (a random ISO date within the last 2 years), and email (a random address at example.com).
What happens if a line is malformed?
Lines that don't match the fieldName:type format, or use an unsupported type, are skipped and listed as a warning below the schema โ the rest of the schema still generates normally.
Is this useful for mocking API responses?
Yes โ define a schema that mirrors your real API's field structure and use the output as mock data during frontend development.
Is there a limit on how many records I can generate?
It generates exactly as many records as you specify; requesting a very large number may take longer to process in your browser.
Can I define nested object schemas?
The current version only supports a flat list of fieldName:type pairs โ nested objects or array schemas aren't supported.