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

Download a sample nested JSON file

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

Download JSON with deep nesting, from 100 KB to 1 GB. Each record is an organisation with settings, departments, teams, team leads and members, so values sit up to 8 levels below the record, inside objects and lists. Use it to test code that flattens JSON, infers a schema or follows paths. The page starts on nested data, and the other data and formats are one click away. To see the structure, open a file in the Large JSON Viewer. To flatten it into columns, try JSON to CSV.

What people use these files for

Need the paths to the values? The JSON Path Finder gives the path of anything you click.

How to get a sample nested JSON file

  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.

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.

Sample nested JSON questions

How deep is the nesting?

A value such as departments[0].teams[0].lead.contact.phone.number is 8 levels below its record. Settings go 5 levels deep (settings.notifications.push.quiet_hours.from). In the file, the records sit in a list under "nested".

What does a record hold?

An organisation: an id and name, settings, 1 to 3 departments with a budget, 1 or 2 teams each with a lead and their contact details, 1 to 3 members with a role and skills, and who created it when.

Can I get it as CSV or XML?

Yes. Pick another format below the choices, and the nested data comes along. In CSV, objects become dotted columns and lists are written as JSON text in their cell. In XML, lists become repeated elements.

Is anything uploaded?

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

All tools