Examine Png
Upload a PNG file and analyze its metadata: dimensions, bit depth, color type, alpha channel, interlacing, unique colors, and transparency details.
Preview
Drop a PNG and read what's actually inside it — dimensions, bit depth, color type, alpha channel, interlace mode, and the real unique color count pulled straight from the IHDR chunk. No more guessing whether that "transparent" export actually has alpha. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool reads the first 33 bytes of your PNG file to extract the IHDR (image header) chunk — that's where PNG stores width, height, bit depth, color type, and interlace method. Then it draws the image to an off-screen canvas and scans every pixel to count unique colors and detect actual transparent pixels. The whole process takes milliseconds for most files.
Examples
Checking a Logo Export from Figma
Designer exported a logo and needs to confirm it has transparency before handing it to the dev team.
company-logo-final.png (42 KB)
512 x 512 px
Color Type: RGBA
Alpha: Yes
Transparent pixels: Yes
Unique colors: 847
Debugging a Screenshot That Won't Compress
A 4 MB screenshot from a retina display. The file size seems too large and the developer wants to understand why before optimizing.
dashboard-screenshot.png (4.2 MB)
3840 x 2160 px
Bit Depth: 8 bits/channel
Color Type: RGBA
Unique colors: 189,432
Transparency: Alpha (fully opaque)
Verifying a Sprite Sheet for a Game
Game dev received a sprite sheet from an artist and needs to confirm it uses indexed color with alpha before importing into the engine.
characters-spritesheet.png (1.1 MB)
2048 x 2048 px
Bit Depth: 8 bits/channel
Color Type: Indexed (Palette)
Interlaced: No
Unique colors: 64
Transparency: tRNS chunk
Who Uses This
Check if PNGs have unnecessary alpha channels bloating page weight before deployment.
Confirm exports from Photoshop or Figma actually have the transparency and bit depth they expect.
Verify sprite sheets use the right color type and palette size before importing into game engines.
Quick check on PNG exports — dimensions, color depth, and whether conversion from RAW kept the detail.
Common Mistakes
A PNG can be saved as RGBA (with alpha) but every single pixel is fully opaque. That extra channel just adds file size for nothing. Look at the "Transparent pixels" field — if it says "fully opaque," you can re-export without alpha and save 15-25% on file size.
Changing a file extension doesn't change the format. If someone renames photo.jpg to photo.png, this tool will reject it because the binary header won't match the PNG signature. You need to actually convert the file in an image editor.
PNG bit depth is per channel, not total. An 8-bit RGBA image is actually 32 bits per pixel (8 x 4 channels). A 16-bit RGB image is 48 bits per pixel. The tool shows bits per channel to match PNG spec terminology.
Technical Details
- Processing: 100% client-side — your file never leaves the browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Max File Size: 50 MB (limited by browser memory)
- Supported Format: PNG only (.png)
- Data Read: IHDR chunk (header) + full pixel scan via Canvas API
Frequently Asked Questions
What information can you get from a PNG file header?
The PNG header (IHDR chunk) stores image width, height, bit depth, color type, compression method, filter method, and interlace method. That's 13 bytes of data packed right at the start of the file. This tool also goes beyond the header by scanning pixel data for unique colors and actual transparency usage.
How do I check if a PNG has a transparent background?
Drop the PNG here and check two fields: "Has Alpha Channel" and "Transparency." A PNG might have an alpha channel but still be fully opaque. The tool scans every pixel, so if it says "with transparent pixels," your background is actually see-through. The checkerboard preview also makes transparent areas visible.
What's the difference between RGB, RGBA, and indexed PNG?
RGB stores three color channels (red, green, blue) — no transparency. RGBA adds a fourth alpha channel for per-pixel transparency. Indexed PNG uses a palette of up to 256 colors, which makes files much smaller but limits the color range. Photos typically use RGB or RGBA. Icons and simple graphics often work best as indexed.
Does analyzing a PNG file reduce its quality?
No. This is purely read-only. The tool doesn't modify, re-encode, or save your file. It reads the binary data, extracts the metadata, and displays it. Your original PNG stays exactly as it was.
Why does my PNG show "Unable to count" for unique colors?
That happens when canvas security blocks pixel access — usually because the image was loaded from a different origin (cross-domain). Since this tool works with local files, you shouldn't see this error often. If you do, try re-downloading the PNG and dropping it directly instead of loading from a URL.