Skip to content
>_ TrueFileSize.com

Sample JSON Files — Free Download for API Testing & Development

Download free sample JSON files with realistic dummy data. Available from simple objects to 10,000-record arrays. Perfect for API testing, frontend mock data, and unit tests. No registration needed.

sample-simple.json

90 B

1 rows

json
Download

sample-array.json

15.4 KB

100 rows

json
Download

sample-1000-records.json

154 KB

1,000 rows

json
Download

sample-10000-records.json

1.52 MB

10,000 rows

json
Download

sample-nested.json

3.9 KB

20 rows

json
Download

sample-users.json

77.0 KB

500 rows

json
Download

sample-products.json

110 KB

500 rows

json
Download

sample-posts.json

106 KB

200 rows

json
Download

sample-geojson.json

12.7 KB

50 rows

json
Download

sample-api-response.json

3.5 KB
json
Download

sample-schema.json

398 B
json
Download

sample-config.json

229 B
json
Download

sample-empty-array.json

2 B
json
Download

sample-null-values.json

10.2 KB

100 rows

json
Download

sample-unicode.json

12.2 KB

50 rows

json
Download

Sample JSON file preview

sample-users.json

[
  {
    "id": 1,
    "name": "Alice Johnson",
    "email": "alice@example.com",
    "age": 28,
    "city": "New York",
    "active": true
  },
  {
    "id": 2,
    "name": "Bob Smith",
    "email": "bob@example.com",
    "age": 34,
    "city": "London",
    "active": false
  }
]

Realistic but fictional data. Safe to use in demos.

Use cases for sample JSON files

  • Testing REST API clients and consumers
  • Seeding databases with test data
  • Unit and integration testing with mock data
  • Demo data for frontend development
  • Prototyping data visualizations
  • Postman / Insomnia collection testing
  • Testing JSON schema validation

JSON structure types available

Simple object

{ "key": "value", "count": 42 }

Array of objects (most common)

[{ "id": 1, "name": "Alice" }, { "id": 2, "name": "Bob" }]

Nested objects

{ "user": { "address": { "city": "NY", "zip": "10001" } } }

API response wrapper

{ "status": 200, "data": [...], "meta": { "total": 1000 } }

How to fetch this JSON

JavaScript (fetch)

fetch('https://truefilesize.com/files/json/sample-users.json')
  .then(res => res.json())
  .then(data => console.log(data));

Python (requests)

import requests
data = requests.get(
    'https://truefilesize.com/files/json/sample-users.json'
).json()
print(data[:5])

Frequently Asked Questions

You might also need

Other data formats