Free online dedicated toolsWeb Crypto · Data is not uploaded

Random JSON test data generator

The random JSON test data generator creates structured mock records by "Field Path|Type|Rule". The dotted path can generate nested objects such as profile.name. The fields support serial numbers, integers, decimals, Boolean values, strings, enumerations, dates, UUIDs, names, test email addresses, and cities. It can output pure arrays or API response objects with data and total, and all calculations are completed in the current browser.

free onlineRun locallyField configurationdevelopment testing

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.

readyAfter completing the settings, click the main operation button

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

01

Define fields

Complete each line with path, type, and optional rules; use dotted paths to create nested objects.

02

Select root structure

Ordinary test fixtures use arrays; objects with data and total can be selected when simulating paging or interface response.

03

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.