.JSON

Sample JSON Files

Realistic JSON for mocking APIs, seeding databases and testing parsers. Every dataset is internally consistent, so related fields make sense together.

.jsonapplication/json9 filesFree · No sign-upUnlimited downloads
Custom size by Technology Channel · Free to use for testing and development, including commercial projects.

All JSON sample files

9 files, 221 B – 5.1 MB. Click a file to download it again any time.

Simple objectPopular

sample.json

A small, valid JSON object with strings, numbers, booleans, null, an array and a nested object.

  • Object
  • 11 keys
  • 643 B

100 users

sample-users-100.json

Array of 100 realistic user records with nested company and address objects.

  • 100 records
  • Array of objects
  • 85.1 KB
85.1 KB Download

1,000 users

sample-users-1000.json

The same user shape at 1,000 records. Good for tables, pagination and search tests.

  • 1,000 records
  • Array of objects
  • 852 KB

10,000 products (large)

sample-products-10000.json

Large product catalog for parser speed, streaming and memory tests.

  • 10,000 records
  • Object with array
  • 5.1 MB

Deeply nested (15 levels)

sample-nested.json

15 levels of nesting with mixed types, nulls and scientific notation. Tests recursion limits and tree views.

  • 15 levels
  • Mixed types
  • 7.2 KB

REST API response

sample-api-response.json

Paginated API response with data, pagination, links and an errors array. Use it to mock endpoints.

  • Paginated
  • 10 items
  • 3.7 KB

Unicode and emoji

sample-unicode.json

Many scripts (Nepali, CJK, Arabic, Hebrew), emoji, escapes, combining marks and zero-width spaces.

  • UTF-8
  • RTL + CJK
  • Emoji

Invalid JSON (error test)

sample-invalid.json

Deliberately broken: single quotes, a comment, trailing comma, leading zero, True, a missing value and an unclosed brace.

  • Malformed
  • Error handling
  • 221 B

JSON Lines (1,000 events)

sample.jsonl

Newline-delimited JSON: one event object per line. Common for logs, streaming and ML datasets.

  • 1,000 lines
  • NDJSON / JSONL
  • 117 KB
Exact-size generator

Need a JSON of a different size?

Create a valid JSON file of any exact size, byte for byte, right in your browser. Nothing is uploaded, and you can generate as many as you like.

  • Perfect for upload limits: 9.99 MB, 10 MB and 10.01 MB in seconds.
  • Up to 20 copies at once, bundled in one ZIP.
  • Unique copies get different checksums, for duplicate-detection tests.

Use cases

What you can test

  • API mocks and front-end prototypes.
  • Parser speed and memory with 10,000 products.
  • Deeply nested structures and recursion limits.
  • Pagination logic with the API response file.
  • Error handling with the invalid JSON file.
  • Unicode, emoji and string escaping.
  • Line-by-line streaming with JSON Lines.
Reference

JSON format facts

Extension.json
MIME typeapplication/json
File signatureNone (plain text, usually starts with { or [)
OriginDouglas Crockford, 2001 · RFC 8259, ECMA-404
Files here9 · 6.1 MB in total
LicenseFree for any use, no attribution
About the format

What is a JSON file?

JSON (JavaScript Object Notation) was popularized by Douglas Crockford in the early 2000s and is standardized as RFC 8259 and ECMA-404. It is the default data format for web APIs.

JSON has only six value types: object, array, string, number, boolean and null. There are no comments, no trailing commas and no dates, which is where many real-world parsing bugs begin.

Developers

Load with fetch

Load with fetch
const res = await fetch("files/json/sample-users-100.json");
const data = await res.json();
console.log(data);
Download with cURL
curl -O https://samplefiles.technologychannel.org/files/json/sample.json
FAQ

JSON files: common questions

Is the data real?

No. Names, emails, addresses and products are fictional and generated for testing. Email addresses use reserved example domains, so nothing can reach a real inbox.

What is wrong with the invalid JSON file?

It contains common mistakes such as a trailing comma, single quotes and an unquoted key. A strict parser should reject it with a clear error.

Can I use these JSON files in commercial projects?

Yes. Every JSON file here is free for any use, including commercial testing, demos and tutorials. No attribution is required.

Can I download the same JSON file more than once?

Yes, as many times as you like. There is no sign-up, no daily limit and no waiting timer. Direct links also work in scripts, CI jobs and automated tests.

Can I call these files like an API?

Yes. Request any file by its direct URL with fetch, cURL or your HTTP client. Responses are served as application/json.