Sample PNG Files — Download Test PNG Images (with Transparency)

Portable Network Graphics · .png · MIME type image/png

5 files14 KB4.3 MBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample PNG file at 640×480, 1280×720, 1920×1080 or 4K, plus a 1024×1024 transparent logo-style PNG for testing alpha channels. Because PNG is lossless, we control file size with the amount of fine detail in the image rather than a quality setting, so each file compresses the way a real screenshot or graphic would.

PNG replaced GIF for web graphics in the late 1990s and is still the right choice for screenshots, logos, icons and anything with sharp edges or transparency. It is not designed for photographs — a photographic PNG is typically 3–6× larger than the equivalent JPEG.

PNG sample image preview
Preview: sample-image-1024x1024-transparent.png — every file on this page uses the same test pattern at a different size or resolution.

Download sample PNG files

FileDetailsSizeDownload
sample-image-1024x1024-transparent.png
1024 × 1024 transparent
1024 × 102414 KB
14,092 bytes
Download PNG
sample-image-640x480-small.png
640 × 480
640 × 480227 KB
227,041 bytes
Download PNG
sample-image-1280x720-medium.png
1280 × 720
1280 × 720846 KB
846,297 bytes
Download PNG
sample-image-1920x1080-large.png
1920 × 1080
1920 × 10802.1 MB
2,088,869 bytes
Download PNG
sample-image-3840x2160-4k.png
3840 × 2160
3840 × 21604.3 MB
4,340,950 bytes
Download PNG
5 files · direct links · no sign-up · CORS enabled

Need one of every images format? Download the images sample pack (1.3 MB, one small file of every images format (10 files)).

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/images/png/sample-image-1024x1024-transparent.png

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-image-1024x1024-transparent.png

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="png")'

PNG format at a glance

Full namePortable Network Graphics
Extensions.png
MIME typeimage/png
StandardISO/IEC 15948, W3C (1996)
CompressionLossless (DEFLATE)
Colour1–16 bits per channel, palette, grayscale, RGB(A)
TransparencyYes — full 8/16-bit alpha channel
AnimationOnly via APNG extension
Magic bytes89 50 4E 47 0D 0A 1A 0A

What people test with sample PNG files

  • Alpha-channel handling when converting to JPG (does the background turn black?)
  • Screenshot and diagram uploads
  • Lossless round-trip tests (input hash should equal output hash)
  • Favicon and app-icon generation
Testing notes. The transparent PNG is the one to use when testing conversions: a JPG converter that ignores alpha will produce a black or white background. The 4K file is large in pixels but modest in bytes — useful for testing decoders that allocate memory by dimensions rather than file size.

Frequently asked questions

When should I use PNG instead of JPG?

Use PNG for anything with text, sharp lines, flat colour or transparency: screenshots, logos, icons, charts, UI mock-ups. Use JPG for photographs. If the image has both, WebP handles both cases well and produces smaller files than either.

Does a PNG file keep its transparency when converted?

Only if the target format supports it — WebP, GIF (1-bit only), TIFF and AVIF do; JPG and BMP do not. Our transparent sample is designed to make this obvious: convert it and look at the background.

Are these PNG files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample PNG files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Free tools that work with PNG

  • Image ConverterConvert images between PNG, JPG, and WebP right in your browser. Files never leave your device.
  • Favicon GeneratorTurn any logo into a complete favicon package — favicon.ico, all PNG sizes, Apple touch icon, and webmanifest — in one click.
  • Image ResizerShrink images by percentage, exact pixel dimensions, or a target file size like 500 KB — all in your browser.

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.