Sample PNG Files — Download Test PNG Images (with Transparency)
Portable Network Graphics · .png · MIME type image/png
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.

Download sample PNG files
| File | Details | Size | Download |
|---|---|---|---|
sample-image-1024x1024-transparent.png | 1024 × 1024 | 14 KB | |
sample-image-640x480-small.png | 640 × 480 | 227 KB | |
sample-image-1280x720-medium.png | 1280 × 720 | 846 KB | |
sample-image-1920x1080-large.png | 1920 × 1080 | 2.1 MB | |
sample-image-3840x2160-4k.png | 3840 × 2160 | 4.3 MB |
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 name | Portable Network Graphics |
|---|---|
| Extensions | .png |
| MIME type | image/png |
| Standard | ISO/IEC 15948, W3C (1996) |
| Compression | Lossless (DEFLATE) |
| Colour | 1–16 bits per channel, palette, grayscale, RGB(A) |
| Transparency | Yes — full 8/16-bit alpha channel |
| Animation | Only via APNG extension |
| Magic bytes | 89 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
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 Converter — Convert images between PNG, JPG, and WebP right in your browser. Files never leave your device.
- Favicon Generator — Turn any logo into a complete favicon package — favicon.ico, all PNG sizes, Apple touch icon, and webmanifest — in one click.
- Image Resizer — Shrink 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