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.
Generate custom JSON fileCreate up to 1GB locally in your browsersample-simple.json
1 rows
Verified file details
- Filename
- sample-simple.json
- Exact size
- 87 bytes
- Displayed size
- 87 B
- MIME type
- application/json
- Rows
- 1
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-simple.json
sample-array.json
100 rows
Verified file details
- Filename
- sample-array.json
- Exact size
- 15,735 bytes
- Displayed size
- 15.4 KB
- MIME type
- application/json
- Rows
- 100
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-array.json
sample-1000-records.json
1,000 rows
Verified file details
- Filename
- sample-1000-records.json
- Exact size
- 158,086 bytes
- Displayed size
- 154 KB
- MIME type
- application/json
- Rows
- 1,000
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-1000-records.json
sample-10000-records.json
10,000 rows
Verified file details
- Filename
- sample-10000-records.json
- Exact size
- 1,590,674 bytes
- Displayed size
- 1.52 MB
- MIME type
- application/json
- Rows
- 10,000
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-10000-records.json
sample-nested.json
20 rows
Verified file details
- Filename
- sample-nested.json
- Exact size
- 3,964 bytes
- Displayed size
- 3.9 KB
- MIME type
- application/json
- Rows
- 20
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-nested.json
sample-users.json
500 rows
Verified file details
- Filename
- sample-users.json
- Exact size
- 78,991 bytes
- Displayed size
- 77.1 KB
- MIME type
- application/json
- Rows
- 500
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-users.json
sample-products.json
500 rows
Verified file details
- Filename
- sample-products.json
- Exact size
- 113,197 bytes
- Displayed size
- 111 KB
- MIME type
- application/json
- Rows
- 500
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-products.json
sample-posts.json
200 rows
Verified file details
- Filename
- sample-posts.json
- Exact size
- 109,359 bytes
- Displayed size
- 107 KB
- MIME type
- application/json
- Rows
- 200
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-posts.json
sample-geojson.json
50 rows
Verified file details
- Filename
- sample-geojson.json
- Exact size
- 12,972 bytes
- Displayed size
- 12.7 KB
- MIME type
- application/json
- Rows
- 50
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-geojson.json
sample-api-response.json
Verified file details
- Filename
- sample-api-response.json
- Exact size
- 3,582 bytes
- Displayed size
- 3.5 KB
- MIME type
- application/json
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-api-response.json
sample-schema.json
Verified file details
- Filename
- sample-schema.json
- Exact size
- 398 bytes
- Displayed size
- 398 B
- MIME type
- application/json
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-schema.json
sample-config.json
Verified file details
- Filename
- sample-config.json
- Exact size
- 229 bytes
- Displayed size
- 229 B
- MIME type
- application/json
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-config.json
sample-empty-array.json
Verified file details
- Filename
- sample-empty-array.json
- Exact size
- 2 bytes
- Displayed size
- 2 B
- MIME type
- application/json
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-empty-array.json
sample-null-values.json
100 rows
Verified file details
- Filename
- sample-null-values.json
- Exact size
- 10,381 bytes
- Displayed size
- 10.1 KB
- MIME type
- application/json
- Rows
- 100
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-null-values.json
sample-unicode.json
50 rows
Verified file details
- Filename
- sample-unicode.json
- Exact size
- 12,640 bytes
- Displayed size
- 12.3 KB
- MIME type
- application/json
- Rows
- 50
- License
- CC0 / Public Domain
- Download URL
- https://truefilesize.com/files/json/sample-unicode.json
Sample JSON file preview
sample-users.json
[
{
"id": 1,
"name": "Alice Johnson",
"email": "[email protected]",
"age": 28,
"city": "New York",
"active": true
},
{
"id": 2,
"name": "Bob Smith",
"email": "[email protected]",
"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
Is the data in these JSON files real?
What data fields are included in the users JSON?
Can I directly fetch these JSON files in my app?
What is GeoJSON and when is it used?
How do I validate a JSON file against a schema?
You might also need
Other data formats
Related reading
Mocking REST APIs with JSON Fixtures
Fast frontend iteration without a backend. MSW, json-server, and sample fixtures for users, products, and nested objects. Copy-paste examples.
Sample JSON Data for API Testing and Mocking
Free sample JSON files for testing REST APIs. Users, products, nested objects, GeoJSON, and API response wrappers with code examples.
Seeding Test Databases with Sample Data — SQL, JSON, CSV
How to seed development and staging databases using sample SQL dumps, JSON files, and CSV imports from TrueFileSize. Covers PostgreSQL, MySQL, SQLite, MongoDB, and Prisma.