Generate a large JSON file, up to 1 GB
Choose the data, the size and the format: JSON, JSON Lines, CSV or XML. The file is written on your device in pieces, so even 1 GB keeps the page responsive.
- JSON, JSON Lines, CSV or XML
- Nothing is uploaded
- 100 KB to 1 GB
- Free, no sign-up
Need a big JSON file to test a parser, an import or an upload limit? Choose the data (orders, customers, products, blog posts, users, log events, deeply nested records or Unicode text), a size from 100 KB to 1 GB or your own, and the format: JSON, JSON Lines, CSV or XML. Before you make it, the page shows the file name, about how many records it will hold and its first record. The file is then written on your device, and you can download it or open it in GigaJSON. To look inside it afterwards, use the Large JSON Viewer.
What people use these files for
- Test a parser
Check that your parser or streaming reader copes with nested objects, long lists and very large files.
- Check an upload limit
Pick a size just under or over your limit to see how your form or API responds.
- Stress-test a viewer
See how an editor or viewer copes with 100 MB, 500 MB or 1 GB of JSON.
- Benchmark an import
Time a database or ETL import with the same file every run.
To look inside the file afterwards, open it in the Large JSON Viewer.
How to use it
- Choose what the file holds: orders, customers, products, blog posts, users, log events, nested data or Unicode text.
- Choose a size from 100 KB to 1 GB, or type a custom size. The file holds whole records and stays within it.
- Choose the format: JSON, JSON Lines, CSV or XML.
- 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.
Questions
What does the data look like?
Made up, but shaped like real data. Orders have a customer, items, totals and tags; customers have contact details and spend; products have prices, stock and ratings; posts have an author, a body and comments; users have a profile and settings; log events have a level, a request and its timing. The same choices always give the same file.
How large can the file be?
Up to 1 GB on a computer, and 50 MB on a phone. The file is written in 8 MB pieces in a background worker, so the page keeps responding, and it's never held as one huge string. You can cancel it at any time.
Can I open a 1 GB file in GigaJSON?
Yes, if you raise the limit: GigaJSON opens documents up to 512 MB by default, and up to 1 GB after you change Preferences, Largest document. The page tells you when a file is over your limit.
Is anything uploaded?
No. The file is generated on your computer and saved from there. Nothing is sent to a server.
All tools
- JSON FormatterIndent with 2 or 4 spaces, sort keys
- JSON ValidatorLine and column of the first error
- JSON MinifierRemove whitespace, see the bytes saved
- JSON RepairFixes quotes, commas, comments, AI output
- JSON Schema GeneratorA JSON Schema from examples
- JSON Schema ValidatorCheck JSON against a schema
- JSON Token CounterCount tokens, select data, compare JSON and TOON
- JSON EditorTree and code editing, undo and history
- Large JSON ViewerTree, table and search for huge files
- JSON Lines ViewerJSONL and NDJSON logs as a table
- JSON Log ViewerCount and filter JSON Lines logs
- Large CSV ViewerCSV files too big for Excel, up to 1 GB
- JSON VisualizerThe data as a graph, PNG and SVG export
- JSON DiffChanges between two documents
- JSON Path FinderClick a value, copy its path
- JSONPath TesterJSONPath, JMESPath and jq, live
- JMESPath PlaygroundJMESPath, for AWS CLI queries too
- jq PlaygroundReal jq in your browser
- JSON to CSVNested objects become dotted columns
- JSON to ExcelAn .xlsx sheet, numbers kept as numbers
- CSV to JSONDelimiters detected, 007 stays 007
- JSON to XML@keys become attributes
- XML to JSONRSS feeds, sitemaps, SOAP responses
- JSON to YAMLReadable YAML, ambiguous strings quoted
- YAML to JSONAnchors and multiple documents
- JSON Lines to JSONNDJSON or JSONL into one array
- JSON to JSON LinesA JSON array as one record per line
- JSON to TOONConvert JSON to TOON, with token counts
- JSON to MermaidA flowchart or class diagram, drawn
- JSON SplitterCut a big file into parts, or sample it
- JSON to TypeScriptInterfaces inferred from your data
- JSON to GoGo structs with json tags
- JSON to RustRust structs that derive serde's Serialize and Deserialize
- JSON to PythonPython dataclasses with type hints
- JSON to JavaJava classes with getters and setters
- JSON to C#C# classes with System.Text.Json attributes
- JSON to KotlinKotlin data classes
- JSON to SwiftSwift structs that conform to Codable, with CodingKeys
- JSON to DartDart classes with fromJson and toJson
- JSON to ZodZod schemas with TypeScript types inferred from them
- JWT DecoderHeader, payload and expiry, locally
- JSON EscapeText to a JSON string and back
- Sample JSON FilesDownload test JSON, 100 KB to 1 GB
- Sample JSON Lines FilesDownload test NDJSON, one record per line
- Sample CSV FilesDownload test CSV, 100 KB to 1 GB
- Sample XML FilesDownload test XML, 100 KB to 1 GB
- Sample GeoJSON FilesPoints, lines and polygons, up to 1 GB
- Sample Nested JSONRecords 8 levels deep, up to 1 GB
- Sample Unicode JSON13 scripts, emoji and escapes
- Sample API ResponsesJSON:API, HAL, GraphQL, pages, errors
- Large JSON File GeneratorTest data from 100 KB to 1 GB