Generate a sample JSON array in your browser. Set the number of objects and the field names, and get a pretty-printed JSON array of example objects you can copy, download, or use as test data.
Optional types: field:type or field:type:rule. e.g. age:int:18-65, active:bool, price:float, status:enum:active|inactive, tags:array, address.city (nesting).
Choose how many objects the array should contain. The generator creates exactly that many items, numbered from the first element.
Type a comma-separated list of field names. Each object in the array uses those keys, so the result matches the shape you need.
Field types are inferred from the name: id gets a number, email gets an address, age gets a number, and so on. Add an explicit type with field:type (such as age:int:18-65, active:bool, price:float, status:enum:active|inactive, tags:array) to force a type, and use dotted names like address.city to build nested objects.
The result is a formatted JSON array you can read immediately. Copy it or download it as a .json file.
Copy the generated array to your clipboard or download it as a .json file for use as fixtures, mocks, or API examples.
Generation happens in your browser. The page does not require an account or send your input to a remote service.
Enter how many objects you want in the array. The count must be a positive number.
Type the field names separated by commas, for example id, name, email. Add a type with field:type to force a value type (age:int:18-65, active:bool, price:float, status:enum:active|inactive, tags:array), and use dotted names like address.city to nest objects.
Click Generate JSON Array. The tool builds a pretty-printed JSON array of example objects.
Copy the array or download it as a .json file. Use it as test data, a mock response, or a documentation example.
Create a small array of example user objects with typed and nested fields.
Count: 2 Fields: id, name, email, age:int:18-40, active:bool, address.city
Two objects with inferred fields plus a typed age, a boolean flag, and a nested address.city key.
[
{
"id": 1,
"name": "Name 1",
"email": "user1@example.com",
"age": 27,
"active": true,
"address": {
"city": "value 1"
}
},
{
"id": 2,
"name": "Name 2",
"email": "user2@example.com",
"age": 33,
"active": false,
"address": {
"city": "value 2"
}
}
]id increments per item, age is a random integer in the 18-40 range, active is a boolean, and address.city is nested into an object automatically.
Sample values are placeholders for testing, not real records.
A JSON array maker, also called a JSON array generator, lets you create json array content without writing it by hand. It builds a JSON array of objects from a few settings: set the item count and the field names and get a ready-to-use array.
Fields named like id receive incrementing numbers and email-style fields receive example addresses. Other fields get labeled sample text. The values are placeholders, so replace them with real data before any production use.
Generation runs entirely in your browser. Your settings are not uploaded and no account is required.