10 MB PNG sample file
A PNG file of exactly 10,485,760 bytes. It is a valid Portable Network Graphics file, generated for this site and checked with an independent parser.
Download
sample-png-10mb.png
10 MB10,485,760 bytes
Download 10 MB PNGDirect download. No sign-up and no waiting.
- Type
- image/png
- SHA-256
b2827bc3199c02f54ded0b5c11337536d908b2fe0e1bbd8819bcd29d9bf97844- Direct URL
https://sampletestfiles.com/downloads/png/sample-png-10mb.png
What is in this file
A 2141 × 1632 test card. The pixel data sits in a deflate stream made of stored blocks, so the size is set by the pixel count. 929 bytes of tEXt comment chunk bring the file to the exact size.
| Dimensions | 2,141 × 1,632 px |
|---|---|
| Colour type | Truecolour RGB, 8 bits per channel |
| Transparency | No |
| Compression | Deflate stream of stored blocks |
| Interlaced | No |
First bytes of the file
The first 64 bytes of sample-png-10mb.png as a hex dump: offset, bytes, then the same bytes as text. The PNG signature is 89 50 4E 47 0D 0A 1A 0A.
00000000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 |.PNG........IHDR|
00000010 00 00 08 5d 00 00 06 60 08 02 00 00 00 29 e4 3d |...]...`.....).=|
00000020 98 00 00 03 95 74 45 58 74 43 6f 6d 6d 65 6e 74 |.....tEXtComment|
00000030 00 53 61 6d 70 6c 65 54 65 73 74 46 69 6c 65 73 |.SampleTestFiles|Preview
Loads the whole 10 MB file in your browser.
Where 10 MB matters
A 10,485,760-byte file: over the default limits of PHP, API Gateway and Spring Boot requests. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Amazon API Gateway | 10 MB payload | A 10 MB file in a multipart or base64 body is over the limit. |
| Spring Boot multipart | 10 MB per request by default (max-request-size) | Exceeded once form overhead is added. |
| PHP | 8 MB POST body by default (post_max_size) | Rejected before the script runs. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file splits into exactly two minimum-sized parts. |
| Email attachments | Commonly 20 to 25 MB per message | 10 MB fits, at about 13.3 MB once encoded. |
Use this file for
- Exercising chunked and resumable uploads
- Checking transparency handling
- Testing image optimisation and conversion
Testing notes for PNG
- PNG compresses flat colour extremely well, so a tiny file can expand to a very large bitmap. Check dimensions before decoding.
- Converting a transparent PNG to JPEG needs a background colour; pipelines that forget produce black backgrounds.
Technical details
| File name | sample-png-10mb.png |
|---|---|
| Format | PNG (Portable Network Graphics) |
| Extension | .png |
| MIME type | image/png |
| Size | 10,485,760 bytes (10 MB) |
| Kind | Binary |
| Signature | 89 50 4E 47 0D 0A 1A 0A |
| SHA-256 | b2827bc3199c02f54ded0b5c11337536d908b2fe0e1bbd8819bcd29d9bf97844 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Images |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-png-10mb.png 'https://sampletestfiles.com/downloads/png/sample-png-10mb.png'
sha256sum sample-png-10mb.png # Linux
shasum -a 256 sample-png-10mb.png # macOSOn Windows, run Get-FileHash sample-png-10mb.png -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 10 MB?
- Yes. It is 10,485,760 bytes, which is 10 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 10 MB PNG file?
- A 2141 × 1632 test card. The pixel data sits in a deflate stream made of stored blocks, so the size is set by the pixel count. 929 bytes of tEXt comment chunk bring the file to the exact size.
- Is there a sample with transparency?
- Yes. The curated library includes a 512 × 512 PNG with an alpha gradient.