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.

Generate custom JSON fileCreate up to 1GB locally in your browser

sample-simple.json

87 B

1 rows

File details and verification
Filename
sample-simple.json
Exact size
87 bytes
Displayed size
87 B
Catalog status
Valid catalog fixture
SHA-256
2ed7134796dcc9670f375f725f09c73fd518f6d2e463dd31081137a4bd068235
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
1
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-simple.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-array.json

15.3 KB

100 rows

File details and verification
Filename
sample-array.json
Exact size
15,650 bytes
Displayed size
15.3 KB
Catalog status
Valid catalog fixture
SHA-256
669246ad368302c8fc51337cc207fc2fb928a3798d92ec27cb619087007e0473
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
100
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-array.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-1000-records.json

155 KB

1,000 rows

File details and verification
Filename
sample-1000-records.json
Exact size
158,293 bytes
Displayed size
155 KB
Catalog status
Valid catalog fixture
SHA-256
e1151f728581cbffb3f8d4b9caf5d6bdec6b43e8ed890f70bd7ad684396edb41
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
1,000
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-1000-records.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-10000-records.json

1.52 MB

10,000 rows

File details and verification
Filename
sample-10000-records.json
Exact size
1,591,625 bytes
Displayed size
1.52 MB
Catalog status
Valid catalog fixture
SHA-256
f73090ff0b42b022473b55da3edd3919e525bddb760170d77dbe702ee21047a2
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
10,000
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-10000-records.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-nested.json

3.9 KB

20 rows

File details and verification
Filename
sample-nested.json
Exact size
4,020 bytes
Displayed size
3.9 KB
Catalog status
Valid catalog fixture
SHA-256
30678818c365f6b56c0b18621d319dc18bc5b5e1c837b53f18abaa59ff598320
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
20
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-nested.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-users.json

77.2 KB

500 rows

File details and verification
Filename
sample-users.json
Exact size
79,049 bytes
Displayed size
77.2 KB
Catalog status
Valid catalog fixture
SHA-256
7be3c2841b41d08946c1cda87562d2b9437d55444d5cee7a992228fb74fd635c
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
500
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-users.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-products.json

111 KB

500 rows

File details and verification
Filename
sample-products.json
Exact size
113,440 bytes
Displayed size
111 KB
Catalog status
Valid catalog fixture
SHA-256
c4555222ecac34ba0136deabc7e87c90ef2cc4c3af79c940d5b107435e8242d6
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
500
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-products.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-posts.json

107 KB

200 rows

File details and verification
Filename
sample-posts.json
Exact size
109,403 bytes
Displayed size
107 KB
Catalog status
Valid catalog fixture
SHA-256
81fa9f3420844d690301aa75d5d6379b5af3c8fe90763e914d26e18e4f74de41
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
200
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-posts.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-geojson.json

12.6 KB

50 rows

File details and verification
Filename
sample-geojson.json
Exact size
12,945 bytes
Displayed size
12.6 KB
Catalog status
Valid catalog fixture
SHA-256
0a73b26a7cafc2a9a8a3236c124f30cac7e9ada58b91bb2c448819af0a2990b9
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
50
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-geojson.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-api-response.json

3.5 KB
File details and verification
Filename
sample-api-response.json
Exact size
3,590 bytes
Displayed size
3.5 KB
Catalog status
Valid catalog fixture
SHA-256
085f275ca14ed3e013a1624059ce726aa7d6815194882ec79c94b03b29156c83
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-api-response.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-schema.json

398 B
File details and verification
Filename
sample-schema.json
Exact size
398 bytes
Displayed size
398 B
Catalog status
Valid catalog fixture
SHA-256
1fbcde8a83c765939077b6082f88521e82535612c07b8eaf9ca43b08cf920642
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-schema.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-config.json

229 B
File details and verification
Filename
sample-config.json
Exact size
229 bytes
Displayed size
229 B
Catalog status
Valid catalog fixture
SHA-256
f881e37642073a1b90249100a0636be481b7473a9b1b4c62236f2524aebdb2a3
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-config.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-empty-array.json

2 B
File details and verification
Filename
sample-empty-array.json
Exact size
2 bytes
Displayed size
2 B
Catalog status
Valid catalog fixture
SHA-256
4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-empty-array.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-null-values.json

10.2 KB

100 rows

File details and verification
Filename
sample-null-values.json
Exact size
10,430 bytes
Displayed size
10.2 KB
Catalog status
Valid catalog fixture
SHA-256
141ec24a7caefa69eec253774876299900cc01e9be151cdf797fd543b0058320
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
100
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-null-values.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

sample-unicode.json

12.3 KB

50 rows

File details and verification
Filename
sample-unicode.json
Exact size
12,574 bytes
Displayed size
12.3 KB
Catalog status
Valid catalog fixture
SHA-256
bf1f3acb1616434fb1f027e3621baec487943df12f9874392c04f9f6e8c84c86
Header signature
Not applicable (no stable header signature for this format)
Verified on
2026-08-10
MIME type
application/json
Rows
50
License
CC0 / Public Domain
Download URL
https://cdn.truefilesize.com/json/sample-unicode.json

See how TrueFileSize generates and measures sample files, or review the editorial policy.

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://cdn.truefilesize.com/json/sample-users.json')
  .then(res => res.json())
  .then(data => console.log(data));

Python (requests)

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

Frequently Asked Questions

Is the data in these JSON files real?
No. All data is generated with faker.js — realistic but entirely fictional. Names, emails, and addresses are randomly generated. Safe for demos, tests, and documentation.
What data fields are included in the users JSON?
The users JSON contains: id, name, email, age, city, and active (boolean). All fields contain realistic but fake data.
Can I directly fetch these JSON files in my app?
Yes. All files are served with CORS headers (Access-Control-Allow-Origin: *), so you can fetch them from any domain. Use them as mock API endpoints during development.
What is GeoJSON and when is it used?
GeoJSON is a standard JSON format for geographic data. It encodes points, lines, and polygons with coordinates. Used by mapping libraries like Leaflet, Mapbox, and Google Maps.
How do I validate a JSON file against a schema?
Use our sample-schema.json as a JSON Schema definition, then validate with libraries like ajv (JavaScript), jsonschema (Python), or online validators. JSON Schema defines the expected structure, types, and constraints for your data.

You might also need

Other data formats

Related reading