One-pixel PNG (1 × 1)
The smallest practical PNG: a single opaque grey pixel.
Download
- Type
- image/png
- SHA-256
be82c36a6dd76c6ed5ae06589c17f2ce8f50e24dcac22ea4e0cc9ab396374203- Direct URL
https://sampletestfiles.com/downloads/samples/sample-pixel-1x1.png
Why test with this file
Useful for minimum-dimension checks and as a tiny placeholder in tests.
| Dimensions | 1 × 1 px |
|---|---|
| Colour type | Truecolour RGB |
| Transparency | No |
What to check
After your application has processed sample-pixel-1x1.png, confirm that:
- Minimum-dimension rules accept or refuse it as designed.
- Thumbnailers do not divide by zero or upscale it into a blur.
- Layout code handles an image with almost no intrinsic size.
First bytes of the file
The first 64 bytes of sample-pixel-1x1.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 00 01 00 00 00 01 08 02 00 00 00 90 77 53 |..............wS|
00000020 de 00 00 00 0c 49 44 41 54 78 da 63 68 68 68 00 |.....IDATx.chhh.|
00000030 00 03 04 01 81 75 2e 01 bc 00 00 00 00 49 45 4e |.....u.......IEN|Preview
Displays the file in your browser.
Technical details
| File name | sample-pixel-1x1.png |
|---|---|
| Format | PNG (Portable Network Graphics) |
| Extension | .png |
| MIME type | image/png |
| Size | 69 bytes (69 B) |
| Kind | Binary |
| Signature | 89 50 4E 47 0D 0A 1A 0A |
| SHA-256 | be82c36a6dd76c6ed5ae06589c17f2ce8f50e24dcac22ea4e0cc9ab396374203 |
| 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-pixel-1x1.png 'https://sampletestfiles.com/downloads/samples/sample-pixel-1x1.png'
sha256sum sample-pixel-1x1.png # Linux
shasum -a 256 sample-pixel-1x1.png # macOSOn Windows, run Get-FileHash sample-pixel-1x1.png -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
About PNG
Lossless images with optional transparency. The standard for screenshots, logos and interface graphics.
Where it fits
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- QA testing
A ready-made set of ordinary and awkward files for exploratory testing and test plans.