30 MB JSON sample

A JSON file of exactly 31,457,280 bytes. It is a valid JavaScript Object Notation file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 30 MB sample, test or dummy JSON file.

Download

sample-json-30mb.json

30 MB31,457,280 bytes

Download 30 MB JSON

Created in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.

Type
application/json
SHA-256
ab0d21a9cb64b0812cb3969eacfea123b0236bc0500facc84a0ea3da29396991
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

An object with a "records" array of 90,146 fictional customer objects, each with nested objects, an array and a nullable field. A final "padding" string brings the file to the exact size.

Records90,146
Root typeObject
Value types usedstring, number, boolean, null, array, object
EncodingUTF-8 (ASCII characters only)
Indentation2 spaces, one record per line

How the file begins

The opening lines of sample-json-30mb.json, exactly as they appear in the file.

00000000  7b 0a 20 20 22 67 65 6e  65 72 61 74 6f 72 22 3a |{.  "generator":|
00000010  20 22 53 61 6d 70 6c 65  54 65 73 74 46 69 6c 65 | "SampleTestFile|
00000020  73 22 2c 0a 20 20 22 64  65 73 63 72 69 70 74 69 |s",.  "descripti|
00000030  6f 6e 22 3a 20 22 53 61  6d 70 6c 65 20 4a 53 4f |on": "Sample JSO|

Preview

Creates the file in your browser and shows its first 64 KB.

Where 30 MB matters

A 31,457,280-byte file, 30 MB in the binary units that operating systems and upload limits use. It is useful wherever a form, an API gateway, a storage quota or a mail server is configured with a limit of about this size.

All 30 MB sample files

Use this file for

  • Measuring download speed from your own server or CDN
  • Seeding front-end components with data
  • Mocking API responses

Testing notes for JSON

  • The JSON standard does not say what happens with duplicate keys, so different parsers keep different values.
  • Most parsers read numbers as 64-bit floats, so integers above 2^53 silently lose precision. Send large identifiers as strings.

JSON format reference

Technical details

File namesample-json-30mb.json
FormatJSON (JavaScript Object Notation)
Extension.json
MIME typeapplication/json
Size31,457,280 bytes (30 MB)
KindText
SHA-256ab0d21a9cb64b0812cb3969eacfea123b0236bc0500facc84a0ea3da29396991
Created2026-10-23
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryData

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-json-30mb.json     # Linux
shasum -a 256 sample-json-30mb.json # macOS

On Windows, run Get-FileHash sample-json-30mb.json -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 30 MB?
Yes. It is 31,457,280 bytes, which is 30 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 30 MB JSON file?
An object with a "records" array of 90,146 fictional customer objects, each with nested objects, an array and a nullable field. A final "padding" string brings the file to the exact size.
Why is there a "padding" field?
JSON has no comments, so a final string member is used to bring each sized file to its exact byte count.