Skip to the tool
GigaJSON Sample JSON Files
All tools
Format and check
View and query
Convert
JSON to code
Encode and decode
Sample files
Guides Open GigaJSON

Download a sample JSON file of any size

Choose the data and the size, then download. Every file is valid JSON with realistic records, made on your device.

Download a sample JSON file in the size you need, from 100 KB to 1 GB. Instead of one fixed file per size, each file is made for you from realistic data: orders, customers, products, blog posts, users or log events. Pick the data and the size, and the file is written in your browser, usually in a few seconds. For other formats, see Sample JSON Lines Files, Sample CSV Files and Sample XML Files.

What people use these files for

To look inside a file, open it in the Large JSON Viewer. For one record per line, see Sample JSON Lines files.

How to use it

  1. Choose what the file holds: orders, customers, products, blog posts, users, log events, nested data or Unicode text.
  2. Choose a size from 100 KB to 1 GB, or type a custom size. The file holds whole records and stays within it.
  3. Click Generate and download, or Open in GigaJSON instead to look inside it.

Read more: JSON vs TOON: token counts measured on six kinds of data

Private, and made for big files

This tool runs in your browser, in a background worker: the file is made on your computer and never uploaded, and nothing is kept after you leave. Files up to 1 GB are written in pieces, so the page keeps responding. Already loaded features keep working if your connection drops. Loading another tool or jq for the first time needs a connection. When one tool isn't enough, GigaJSON opens your data with a tree, a table, JSONPath/JMESPath/jq queries, transforms, diff and history.

Questions

What is in a sample JSON file?

One object with a list of records and a meta block: {"orders": [ … ], "meta": {"count": …}}. Records have nested objects, lists, numbers, booleans, nulls and ISO dates, so they exercise a parser the way real API data does.

Is the file the same every time?

Yes. The same size and data always give the same file, which helps when a test needs to be repeatable.

Can I download a 1 GB JSON file?

Yes, on a computer: choose 1 GB. The file is written in pieces in a background worker, so the page keeps responding. Phones go up to 50 MB.

Which size should I use to test an upload limit?

Pick a size just over the limit, such as 11 MB for a 10 MB limit. Custom takes any size up to 1 GB, in KB, MB or GB.

Is anything uploaded?

No. The file is made in your browser and saved from there. Nothing is kept after you leave.

All tools