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
1 rows
sample-array.json
100 rows
sample-1000-records.json
1,000 rows
sample-10000-records.json
10,000 rows
sample-nested.json
20 rows
sample-users.json
500 rows
sample-products.json
500 rows
sample-posts.json
200 rows
sample-geojson.json
50 rows
sample-api-response.json
sample-schema.json
sample-config.json
sample-empty-array.json
sample-null-values.json
100 rows
sample-unicode.json
50 rows
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])