Images
A 20 MB image file, on demand.
Exactly 20,971,520 bytes, built on your machine the moment you press the button. Starts as PNG — switch to JPG or WebP with the picker above.
20,971,520 bytes, exactly.
Every format below reaches your target size with real, structurally valid padding — not a renamed blob of zeros.
Unit convention
20 MB on this page means exactly 20,971,520 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 11,651 pages of typed text, 22 minutes of 128 kbps audio, 2 minutes of CD-quality audio, 8.4 photos from a 12 MP camera. These figures compare file size only — the generated file does not contain this text, audio or image content.
Accepted by
Outlook.com attachment, Gmail attachment, Cloudflare Free proxy body — all publish a limit at or above this size, based on commonly cited figures that can vary by plan and change over time.
Rejected by
Discord free attachment, AWS API Gateway payload, PHP default upload_max_filesize — this exceeds their commonly cited limit, which makes it a useful negative test. Published limits can vary by plan and change over time.
Prefer a specific format?
Some upload forms only care about the extension. Jump straight to a 20 MB file in one exact format:
Questions.
Is this 20 MB image file valid?
Yes, whichever format you pick. Each one is a genuine PNG, JPG or WebP — not a renamed blob — padded to reach the exact size, and it opens normally in standard viewers and browsers.
Which format should I choose?
PNG and JPG are accepted almost everywhere image uploads are tested. WebP is smaller and increasingly common. If a specific tool only accepts one format, use the picker above to match it.
Does 20 MB mean 20,971,520 bytes?
On this page, yes — 20 MB uses the binary (MiB) convention, so the file is exactly 20,971,520 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.
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.