One-pixel PNG (1 × 1)

The smallest practical PNG: a single opaque grey pixel.

Download

sample-pixel-1x1.png

69 B69 bytes

Download PNG sample

Direct download. No sign-up and no waiting.

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.

Dimensions1 × 1 px
Colour typeTruecolour RGB
TransparencyNo

What to check

After your application has processed sample-pixel-1x1.png, confirm that:

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 namesample-pixel-1x1.png
FormatPNG (Portable Network Graphics)
Extension.png
MIME typeimage/png
Size69 bytes (69 B)
KindBinary
Signature89 50 4E 47 0D 0A 1A 0A
SHA-256be82c36a6dd76c6ed5ae06589c17f2ce8f50e24dcac22ea4e0cc9ab396374203
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryImages

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 # macOS

On 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.

PNG format reference

Where it fits

Related files

All curated sample files