Get started with the random JSON test data generator
Define field paths and types, and batch generate JSON data that can be directly used for interfaces, components and automated testing.
Supports dot paths to generate nested objects; mailboxes are fixed to use example.test, which is only used for interfaces, components and automated testing.
recent records
Records are only saved in the current browser and can be cleared at any time.
Instructions for use
Three steps to get started
Define fields
Complete each line with path, type, and optional rules; use dotted paths to create nested objects.
Select root structure
Ordinary test fixtures use arrays; objects with data and total can be selected when simulating paging or interface response.
Copy or download
Copy the JSON after checking the preview, or download it as a local file and give it to the Mock service and test code.
FAQ
Random JSON Test Data Generator FAQ
What field types are supported?
Supports index, integer, decimal, boolean, string, enum, date, uuid, name, email and city, and can configure up to 20 fields per page.
How to generate nested JSON?
Field names using dotted paths, such as profile.name and profile.email, will create a profile object in each record. Conflicting paths are rejected.
Will the generated email address correspond to a real user?
Won't. The email address uses the reserved test domain name example.test, which is only used as a test value in the correct format and cannot be used to send emails or register accounts.
Will the data be uploaded to the server?
Won't. Field parsing, random generation, serialization, copying and downloading are all done in the current browser.