How to Open a PNG File
To view a PNG, open it in Windows Photos, Mac Preview, a compatible phone photo app or your browser. If it will not display, follow the damaged-file and unsupported-format checks below. For a background or transparency problem, use the transparency instructions; the local viewer shows the image and its metadata.
Choose what you need
View & Inspect a PNG File Online
Drop a .png file below to preview it and see exactly what's inside — real color type, bit depth and transparency read from its IHDR chunk, every embedded text/EXIF metadata field, and a genuine CRC-32 integrity check run on every single chunk in the file (the same checksum algorithm PNG itself uses, verified from scratch rather than assumed).
🔒 Nothing is uploaded — your file never leaves this deviceOn this page
What is a PNG file?
PNG (Portable Network Graphics) is a lossless raster image format created in the mid-1990s as a free, patent-unencumbered replacement for GIF. Every pixel is preserved exactly — PNG's DEFLATE-based compression never discards image data the way JPEG's does — which makes it the standard choice for screenshots, logos, icons, line art, and anything with sharp edges or text where JPEG's compression artifacts would be obvious.
Structurally, a PNG file is a sequence of typed chunks, each with its own length, 4-character type code, data, and a CRC-32 checksum covering that chunk. The mandatory IHDR chunk declares the image's dimensions, bit depth, and color type (grayscale, palette-indexed, truecolor, and either of the last two with a full alpha transparency channel added). Optional chunks carry a color profile, physical DPI, a last-modified timestamp, free-form text metadata, and — since a 2017 spec addition — a full EXIF block. That's exactly the chunk structure this page's tool reads directly, verifying each one's own real checksum along the way.
PNG vs JPG: which should you use?
- Use PNG for: screenshots, logos, icons, diagrams, text-heavy images, or anything needing real transparency.
- Use JPG for: photographs and other complex, continuous-tone images, where its lossy compression gives a much smaller file at a visually similar quality.
- PNG files are typically far larger than JPGs for photographic content, since lossless compression can't shrink complex photo detail nearly as much as JPEG's lossy approach can.
Opening a PNG file on any device
- Windows: double-click it — opens in the Photos app by default.
- Mac: double-click it (opens in Preview), or press the spacebar in Finder for a Quick Look preview.
- Linux: opens in whatever the desktop environment's default image viewer is (usually GNOME Image Viewer, Gwenview, or similar).
- Any browser: drag it directly into a browser window, or use the tool on this page for a preview plus a full metadata breakdown.
Opening a PNG on Android & iPhone
Phones open PNGs natively. Screenshots are often PNGs already (iPhone screenshots always are, and many Android phones save them that way too), so you've probably been opening them for years without noticing.
- iPhone/iPad: a PNG in Mail, Messages or the Files app opens with a tap in Quick Look. To keep a PNG from Safari, touch and hold the image and choose Save to Photos; to keep it as a file instead, use Share > Save to Files.
- Android: PNGs open in Google Photos, the phone's own gallery, or Files by Google. Some Samsung phones let you choose whether screenshots are saved as PNG or JPG in the screenshot settings.
- Attachment won't open? On both platforms, a PNG attachment that shows only a generic icon usually hasn't finished downloading — tap it once and wait, or save it to Files first.
Common PNG file problems and how to fix them
"It appears we don't support this file format" / the image won't display
The file may be corrupted or incompletely downloaded. Use the tool on this page's Chunks tab — if any chunk fails its CRC-32 check, or the file ends abruptly before an IEND chunk, that confirms real corruption rather than a viewer problem.
The image looks fine but has a strange colored background where I expected transparency
Some older software (and certain older browsers) don't render PNG's alpha transparency correctly and instead show a solid color. Check the Overview tab here to confirm the file genuinely has an alpha channel — if it does, the problem is with the viewer, not the file.
The PNG file is much larger than expected
PNG is lossless, so large, detailed or photographic images can produce big files. Check the Overview tab's compression estimate; if it's already highly compressed, converting to JPG (using the button above) is usually the best way to shrink a photographic PNG further.
PNG "transparent" background shows a gray-and-white checkerboard
If you downloaded a "transparent PNG" (often from an image search) and the checkerboard pattern stays visible when you place it on a colored slide or document, the file isn't transparent at all — the checkerboard was painted into the pixels to make it look transparent in search results. Real transparency only looks like a checkerboard in editors; on a slide or web page, the background shows through.
- Confirm it: drop the file into the tool above. If the Overview tab shows Transparency (alpha): No and a color type without alpha (Truecolor RGB, for example), the checkerboard is fake.
- Look for the original: on the source site, open the full-size image rather than the preview — some sites serve a flattened preview and the real transparent file only on the download link.
- Remove the background yourself: Windows 11 Paint has a one-click Remove background button; on a Mac, Preview's Instant Alpha tool (in the Markup toolbar) erases a background color you drag over; on an iPhone or iPad, touch and hold the subject of a photo to lift it off its background, then share or copy it. Each of these produces a PNG with real transparency.
Keep transparency when editing or saving a PNG
A PNG can lose its transparent areas silently when you edit or re-export it. The usual culprits:
- Saving as JPG. JPG has no transparency, so transparent pixels are filled with a solid color — white in most apps, black in some. The PNG to JPG converter on this site fills them with white deliberately; if you need to keep transparency but want a smaller file, use PNG to WEBP instead.
- Older versions of Paint. Classic Windows Paint has no transparency support and fills transparent areas with white when it saves. The current Windows 11 Paint, with layers, can keep transparency when saving as PNG — update it from the Microsoft Store if you don't see a Layers panel.
- Mac Preview's Alpha checkbox. When you use File > Export and choose PNG, Preview shows an Alpha checkbox. Leave it ticked; unticking it flattens the image onto white.
How to make a PNG file smaller
Because PNG never throws detail away, shrinking one means either compressing the same pixels more cleverly or reducing what there is to store. In rough order of how much they save:
- Reduce the pixel dimensions. A screenshot from a high-resolution display can be 3000+ pixels wide; halving the width cuts the pixel count to a quarter. Use Paint's Resize, Preview's Tools > Adjust Size, or any editor.
- Reduce the colors (lossy PNG). Tools like pngquant convert a full-color PNG to a 256-color palette PNG with smart dithering. For screenshots, icons and illustrations the result usually looks the same and is often a fraction of the size, transparency included. Web services such as TinyPNG do the same thing, but they upload your file.
- Optimize losslessly. oxipng or OptiPNG re-run PNG's compression with better settings and strip unneeded chunks without changing a single pixel. Savings are smaller, but it's free quality-wise.
- Change format for photos. If the PNG is a photograph, it will always be large; JPG or WEBP will typically be many times smaller at no visible cost.
Need the image inside a document instead? The PNG to PDF converter embeds PNGs losslessly, transparency and all.
Technical references
PNG is formally standardized by the W3C, with the current Third Edition consolidating two decades of errata into one authoritative document.
- Portable Network Graphics (PNG) Specification (Third Edition) — W3C Recommendation — The current official W3C specification defining the PNG file format, its chunk structure, and CRC checksums.
Frequently asked questions
What program opens a .png file?
Every current web browser and operating system opens PNG files natively — Windows Photos, macOS Preview and Quick Look, and any browser all display them with no extra software needed.
Does a PNG file support transparency?
Yes — PNG natively supports a full alpha channel (256 levels of transparency per pixel) in its Truecolor+alpha and Grayscale+alpha color types, which is one of its main advantages over JPEG. It can also use a simpler single fully-transparent color via a tRNS chunk.
Can a PNG file contain a GPS location or other hidden metadata?
Yes, though it's less common than in JPEGs — a PNG can carry a full EXIF block (including GPS coordinates) in its eXIf chunk, plus free-form text metadata (author, description, software used) in tEXt/zTXt/iTXt chunks. Use the tool on this page to check before sharing a PNG publicly.
Is PNG lossless?
Yes — PNG compression never discards image data, unlike JPEG. That makes it ideal for screenshots, logos, line art and anything with sharp edges or text, at the cost of larger file sizes for photographic images compared to JPEG.
Why does my transparent PNG get a black or white background after I send it?
Most chat apps, including WhatsApp and Messenger, recompress anything sent as a photo into a JPEG, and JPEG can't store transparency, so the transparent areas are filled with black or white. Send the PNG as a document or file instead, or share a link to it, and the recipient gets the original with its transparency intact.
How do I make the background of a PNG transparent?
On Windows 11, open the image in Paint and click Remove background. On a Mac, open it in Preview, show the Markup toolbar and use Instant Alpha to erase the background color. On an iPhone or iPad, touch and hold the subject of a photo to lift it from the background, then share or copy it. Save the result as PNG, not JPG, or the transparency is lost.
What is an animated PNG (APNG)?
APNG is an extension of PNG that stores several frames, like a GIF but with full color and smooth transparency. It still uses the .png extension. All current major browsers play APNG animations, but many desktop photo viewers and editors show only the first frame, so open it in a browser to see it move.
Why are my screenshots saved as PNG instead of JPG?
PNG is lossless, so text and sharp interface edges in a screenshot stay crisp, where JPG would add blurry artifacts. Windows Snipping Tool, macOS and iPhone all save screenshots as PNG by default. On a Mac you can switch to JPG with the Terminal command defaults write com.apple.screencapture type jpg; to shrink an existing screenshot, see the compression tips on this page.
How do I turn a PNG into a PDF?
Use the PNG to PDF converter on this site, which combines one or more PNGs into a PDF in your browser and keeps them lossless. Alternatively, open the PNG and print it to Microsoft Print to PDF on Windows, or use File > Export as PDF in Preview on a Mac.
Last updated October 1, 2026.