.PNG

PNG File

Portable Network Graphics
Ask a question
QUICK ANSWER

A PNG (Portable Network Graphics) is a lossless raster image format. Every modern OS, browser, and image app opens PNGs natively - just double-click. The most common questions are not about opening but about transparency, file size, and converting to JPG or SVG.

Developer: PNG Development Group (W3C / ISO standard) Category: Raster Image Files Open standard MIME: image/png
OPENS ON Windows macOS Linux Web
Related: .JPG · .TIF · .ECW · .AVIF

On this page

19k+ extensions indexed
Last reviewed Aug 23, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PNG file format?

A .png file contains raster graphics compressed with a lossless method using the Deflate algorithm. The format supports an alpha channel for transparent pixels and stores up to 16 bits of color data per channel - enabling 48-bit color in RGB mode or 64-bit color in RGBA mode. Each .png file holds a single image; the format does not support animations. The APNG and MNG formats are used for animated images derived from the PNG design.

The file starts with a fixed 8-byte signature (89 50 4E 47 0D 0A 1A 0A). The non-ASCII first byte and the CR-LF sequence serve as intentional corruption checks that detect 7-bit transfers and incorrect line-ending conversions. After the signature, the file is organized into named blocks called chunks, each carrying a specific type of data. A .png file can store:

  • RGB graphics
  • RGBA (RGB with alpha transparency)
  • ICC and ICM color profiles
  • EXIF metadata

PNG was created in 1995-1996 as a patent-free alternative to .GIF and is endorsed by the W3C as a standard format for distributing images on the web. RFC 2083, which specifies the PNG format, was published in 1997; the ISO/IEC standard (ISO/IEC 15948) followed in 2004. PNG is widely used for sharing images and is suitable for print output, although it is not used in professional print workflows because it supports only the RGB color model and not CMYK. PNG files are supported by virtually all web browsers and image editing programs.

Security & safety

RISK: LOW

A PNG is passive image data and safe to open in any modern, updated viewer. Two caveats: historically, malformed images have triggered bugs in image-decoding libraries, so keep your OS/viewer updated; and PNG metadata chunks (tEXt) can carry hidden text, while the format can be abused for steganography - but a PNG cannot execute on its own. A file named "photo.png" that is actually an EXE would still need to be run as a program; the PNG itself is not a malware vector.

Format details

in a nutshell
FULL NAMEPortable Network Graphics
DEVELOPERPNG Development Group (W3C / ISO standard)since 1996 (created as a patent-free replacement for GIF)
MIME TYPEimage/png
TYPERaster image, lossless compression (chunk-based binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
89504E470D0A1A0A
ASCII
·PNG····
Fixed 8-byte signature: 89 50 4E 47 0D 0A 1A 0A. The non-ASCII 0x89 first byte and the CR-LF / EOF bytes are a deliberate corruption check (detects 7-bit transfer and bad line-ending conversion). Immediately after the signature comes the IHDR chunk (width, height, bit depth, color type). The file always ends with an IEND chunk.

Programs that open PNG files

Windows4 apps
Adobe Photoshop Paid Open/edit and 'Export As' or 'Save for Web' to optimize PNG size or convert.
GIMP Open-source Open for full editing; File → Export As to save PNG to other formats, with control over transparency.
IrfanView Free Fast viewer; open and batch-convert PNG → JPG/WebP/ICO via File → Batch Conversion.
Photos / Paint (built-in) Built-in Double-click to view in Photos; open in Paint to crop/resize and re-save.
macOS2 apps
GIMP Open-source Free editor; File → Export As for format conversion and transparency control.
Preview (built-in) Built-in Double-click to view; Tools → Adjust Size and File → Export to convert to JPG/other formats.
Linux2 apps
GIMP Open-source Open and edit; Export As to convert. Default image editor on most distros.
Image viewer (Eye of GNOME / gThumb) Open-source Double-click to view in the desktop's built-in image viewer.
Web2 apps
Web browser Free Drag the PNG into any browser tab to view it - PNG is natively supported everywhere.
Photopea Free Free in-browser Photoshop-like editor; open a PNG and File → Export As to convert.

Technical details

deep spec
MIME typeimage/png
File signature89 50 4E 47 0D 0A 1A 0A - fixed 8-byte magic at byte offset 0
Compression algorithmDeflate (RFC 1951) wrapped in zlib (RFC 1950)
Compression typeLossless only - pixel values are preserved exactly
Supported color modesGrayscale, Indexed (palette), RGB, RGBA
Bit depth1, 2, 4, 8, or 16 bits per channel depending on color mode
Maximum color depth64-bit RGBA (16 bpc × 4 channels); 48-bit for opaque RGB
Alpha transparencyFull alpha channel: 8-bit or 16-bit per pixel
InterlacingOptional Adam7 two-dimensional interlace scheme for progressive display
Pre-compression filterFive adaptive row filters: None, Sub, Up, Average, Paeth
File structureSequential named chunks: IHDR → one or more IDAT → IEND
Embedded metadataICC/ICM color profiles, EXIF, text annotations (tEXt, iTXt, zTXt chunks)
Color calibrationgAMA chunk stores display gamma; cHRM chunk stores chromaticity data
Palette supportOptional PLTE chunk - up to 256 indexed color entries
AnimationNot supported in the base format; APNG adds multi-frame capability
Print color modelRGB only - CMYK is not supported
Released1996 (created as a patent-free replacement for GIF)
Open standardYes · royalty-free
Specificationwww.w3.org

PNG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PNG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PNG files.

Frequently asked questions

How do I convert a PNG to JPG?
Open it in any image app (Windows Paint/Photos, macOS Preview, IrfanView, GIMP) and use Save As / Export to JPG. JPG is smaller but lossy and removes transparency - transparent areas turn white. For many files at once, batch-convert in IrfanView.
Does PNG support transparency?
Yes. PNG has a full alpha channel, so pixels can be fully or partially transparent - that's why it's the standard for logos and graphics over a background. JPG cannot do this; export to PNG (or WebP) to keep transparency.
How do I convert a PNG to SVG?
There's no direct conversion: PNG is pixels and SVG is vector paths. You vectorize (redraw) the image with Inkscape's Trace Bitmap or Illustrator's Image Trace. This works for simple flat logos and line art, not for photographs.
Why is my PNG file so large?
PNG is lossless, so it doesn't throw away detail the way JPG does - great for quality, bigger for photos. For photographic images use JPG or WebP; for graphics, run the PNG through an optimizer (TinyPNG, pngquant) to shrink it without visible loss.
How do I make a PNG with a transparent background?
Erase or select-and-delete the background in an editor (GIMP, Photoshop, Photopea), then export as PNG - PNG preserves the transparency. Many 'remove background' web tools also output a transparent PNG.
What's the difference between PNG and JPG?
PNG is lossless and supports transparency (best for logos, screenshots, graphics with text); JPG is lossy with no transparency but much smaller (best for photos). Re-saving a JPG degrades it; re-saving a PNG never does.

References

1W3C - Portable Network Graphics (PNG) Specification (3rd ed.)www.w3.org
2MDN - Image file type and format guide (PNG)developer.mozilla.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BCBitComet Incomplete Download File
5.PARTPartial Download File
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.NOMEDIAAndroid No-Media Marker File
9.AVIFAV1 Image File Format (AVIF)
10.RPMSGRestricted Permission Message

Related extensions

.JPGJPEG Image
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)
.WEBPWebP image

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z