Documents · HTML

A 2 GB HTML file, on demand.

Exactly 2,147,483,648 bytes of a complete HTML5 document that renders in a browser, built on your machine the moment you press the button.

0bytes
Exact size

2,147,483,648 bytes, exactly.

Every byte above the 189 bytes structural minimum goes into an HTML comment, which is why this file still behaves like one a real user would send.

Unit convention

2 GB on this page means exactly 2,147,483,648 bytes, using the binary (MiB) convention some systems label "MB" for short. 1 MB in the strict decimal sense is 1,000,000 bytes; 1 MiB is 1,048,576 bytes — the readout above always shows the exact count either way.

Approximate size equivalents

Roughly 1,193,046 pages of typed text, 2237 minutes of 128 kbps audio, 203 minutes of CD-quality audio, 859 photos from a 12 MP camera. These figures compare file size only — the generated file does not contain this text, audio or image content.

Rejected by

Slack free workspace file, Cloudflare Free proxy body, GitHub repository file — this exceeds their commonly cited limit, which makes it a useful negative test. Published limits can vary by plan and change over time.

Other HTML sizes

At this scale you are testing infrastructure rather than validation: timeouts, proxy buffers, disk headroom and progress reporting.

Questions.

Is this 2 GB HTML file valid?

Yes. It is a complete HTML5 document that renders in a browser. The extra bytes sit in an HTML comment, so it opens in Chrome, Firefox, Safari and Edge.

Does 2 GB mean 2,147,483,648 bytes?

On this page, yes — 2 GB uses the binary (MiB) convention, so the file is exactly 2,147,483,648 bytes. 1 MB in the strict decimal sense would be a different, smaller byte count. Upload validators may use either convention, so the exact byte count is always shown to remove any ambiguity.

What is a 2 GB file used for?

At this scale you are testing infrastructure rather than validation: timeouts, proxy buffers, disk headroom and progress reporting. For HTML specifically, the usual job is testing page-weight budgets and HTML upload handling.

Where is the file downloaded from?

Nowhere. It is assembled in a Web Worker on your own device and handed to the browser as a Blob, so nothing is uploaded, fetched or stored.