Free PNG sample, test and dummy files

Lossless images with optional transparency. The standard for screenshots, logos and interface graphics. Download valid PNG test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.png
MIME type
image/png
Kind
Binary
Category
Images

Create a PNG file of any size

Choose any size from 116 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

PNG files by size

Every file below is a valid Portable Network Graphics file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

PNG sample files by size
FileSizeContentsDownload
1 KB PNG samplesample-png-1kb.png 1 KB1,024 bytes 14 × 21 px Download PNG
5 KB PNG samplesample-png-5kb.png 5 KB5,120 bytes 46 × 36 px Download PNG
10 KB PNG samplesample-png-10kb.png 10 KB10,240 bytes 67 × 50 px Download PNG
25 KB PNG samplesample-png-25kb.png 25 KB25,600 bytes 107 × 79 px Download PNG
50 KB PNG samplesample-png-50kb.png 50 KB51,200 bytes 149 × 114 px Download PNG
100 KB PNG samplesample-png-100kb.png 100 KB102,400 bytes 214 × 159 px Download PNG
200 KB PNG samplesample-png-200kb.png 200 KB204,800 bytes 300 × 227 px Download PNG
500 KB PNG samplesample-png-500kb.png 500 KB512,000 bytes 476 × 358 px Download PNG
1 MB PNG samplesample-png-1mb.png 1 MB1,048,576 bytes 682 × 512 px Download PNG
2 MB PNG samplesample-png-2mb.png 2 MB2,097,152 bytes 957 × 730 px Download PNG
3 MB PNG samplesample-png-3mb.png 3 MB3,145,728 bytes Dimensions: 1187 × 883 px Download PNG
5 MB PNG samplesample-png-5mb.png 5 MB5,242,880 bytes 1,514 × 1,153 px Download PNG
10 MB PNG samplesample-png-10mb.png 10 MB10,485,760 bytes 2,141 × 1,632 px Download PNG
15 MB PNG samplesample-png-15mb.png 15 MB15,728,640 bytes Dimensions: 2626 × 1996 px Download PNG
20 MB PNG samplesample-png-20mb.png 20 MB20,971,520 bytes Dimensions: 3072 × 2275 px Download PNG
25 MB PNG samplesample-png-25mb.png 25 MB26,214,400 bytes Dimensions: 3394 × 2574 px Download PNG
30 MB PNG samplesample-png-30mb.png 30 MB31,457,280 bytes Dimensions: 3707 × 2828 px Download PNG
50 MB PNG samplesample-png-50mb.png 50 MB52,428,800 bytes Dimensions: 4774 × 3660 px Download PNG
100 MB PNG samplesample-png-100mb.png 100 MB104,857,600 bytes Dimensions: 6791 × 5146 px Download PNG

More PNG samples

Hand-designed files with realistic content or a specific edge case.

Curated PNG sample files
FileSizeContentsDownload
Test card PNG, 1920 × 1080sample-test-card-1920x1080.png 195 KB199,649 bytes 1920 × 1080 px Download PNG
Transparent PNG with an alpha gradient, 512 × 512sample-transparent-512x512.png 42.0 KB42,984 bytes 512 × 512 px Download PNG
One-pixel PNG (1 × 1)sample-pixel-1x1.png 69 B69 bytes 1 × 1 px Download PNG

What is a PNG file?

PNG compresses images without losing any information and supports an alpha channel for smooth transparency. It works best on flat colour and sharp edges, and produces large files for photographs.

A PNG file is an eight-byte signature followed by chunks. Each chunk has a length, a four-letter type and a CRC checksum, so corruption is detected rather than silently displayed.

How to recognise a PNG file

Software recognises a PNG file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file.
Extension.png
MIME typeimage/png
StandardW3C PNG Specification (also ISO/IEC 15948)
CompressionLossless deflate
ColourGreyscale, palette or truecolour, 1 to 16 bits per channel
TransparencyFull alpha channel

What to test for

These are the behaviours that most often go wrong when software handles PNG files.

Strengths of PNG

  • Lossless, so screenshots, diagrams and text stay perfectly sharp.
  • Full alpha transparency.

Limitations of PNG

  • Photographs are several times larger than the equivalent JPEG.
  • No animation in the baseline format.

Typical uses of PNG test files

  • Testing image uploads that must stay lossless
  • Checking transparency handling
  • Testing image optimisation and conversion
  • Verifying dimension limits

Software that opens PNG

  • Every browser and image viewer
  • Screenshot tools on all platforms
  • libpng, sharp, Pillow and ImageMagick libraries

Specifications

Related

PNG sample files: questions

Why are the sized PNG samples stored without compression?
It makes the size exact and predictable: the pixel data is written in uncompressed deflate blocks, so byte count follows pixel count. The files are fully valid PNGs. For a normally compressed PNG, use the 1920 × 1080 test card.
Is there a sample with transparency?
Yes. The curated library includes a 512 × 512 PNG with an alpha gradient.
What is the MIME type of a PNG file?
The MIME type is image/png. The file extension is .png.
Is a sample PNG file the same as a dummy or example PNG file?
Yes. Sample, test, dummy and example PNG files are different names for the same thing: a PNG file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy PNG file.