Lorem.space

Sample JSON files

Download a sample JSON file to test a parser, an API mock, an import or a chart. Every file is valid JSON with made-up people, products and orders, and every email address uses the reserved example.com domain.

FileWhat it holdsSize
user.jsonOne object with a nested address0 KB
users.jsonAn array of 25 user objects9 KB
products.jsonAn array of 50 products, each with an array of tags9 KB
orders.json20 orders, each with a nested customer and an array of items12 KB
users-1000.jsonAn array of 1,000 users345 KB
user.schema.jsonA JSON Schema (draft 2020-12) that the user objects match1 KB

You can also load the files by URL, for example https://lorem.space/sample-json/users.json, to test code that fetches JSON.

Sample JSON object

This is the whole of user.json. Every user in the other files has the same fields:

{
  "id": 1,
  "first_name": "Diego",
  "last_name": "Silva",
  "email": "[email protected]",
  "phone": "555-0132",
  "birth_date": "1965-04-15",
  "address": {
    "street": "8118 Park St",
    "city": "Riverton",
    "state": "WY",
    "zip": "82501"
  },
  "signup_date": "2026-04-29",
  "active": true
}

Sample JSON array

A JSON array holds values in square brackets, separated by commas. users.json is an array of objects, and each product in products.json has an array of strings:

[
  {
    "id": 1,
    "sku": "SKU-1001",
    "name": "Notebook (black)",
    "category": "Stationery",
    "price": 4.5,
    "in_stock": 23,
    "tags": [
      "new",
      "popular"
    ]
  },
  {
  ...
]

orders.json shows deeper nesting: each order has a customer object and an items array of objects, which is the shape most API responses take.

Sample JSON Schema

A JSON Schema describes which fields a JSON document must have and what type each one is. user.schema.json requires id, the two names and email, and checks that the ZIP code has five digits. Use it to test a validator, or to see how a schema for a real object is written.

What is in the data

For CSV versions of the same kind of data, see the sample CSV files. For your own fields, use the fake data generator.

Frequently asked questions

Where can I download a sample JSON file?

Download any file from the table on this page. They are free to use for tests and demos, with no account.

What does a sample JSON object look like?

A JSON object is a list of "name": value pairs in curly braces. The user.json example on this page has strings, a number, a boolean and a nested address object.

Is there a sample JSON file with an array?

Yes. users.json and products.json are arrays of objects, and each product has an array of tags.

Is there a large sample JSON file?

Yes. users-1000.json holds 1,000 user objects in one array.

Is the data in the sample JSON files real?

No. All names, emails, phone numbers and orders are made up, and every email uses the reserved example.com domain.