OnlineConvert OnlineConvert
Formats / PNG

PNG Image Format

Lossless compression with full transparency support

What is PNG?

PNG (Portable Network Graphics) is a lossless image format created in 1996 as a free, open-source alternative to GIF. Unlike JPG, PNG preserves every pixel of your image exactly as-is, with no quality loss from compression.

The format's standout feature is full alpha channel transparency. This means pixels can be partially transparent, enabling smooth edges and shadows that blend seamlessly with any background.

When to use PNG

PNG is the right choice when you need:

  • Transparency — Logos, icons, or images that need to blend with backgrounds
  • Sharp edges and text — Screenshots, diagrams, UI elements
  • Lossless quality — Graphics that will be edited multiple times
  • Flat colors — Illustrations, logos, and graphics with solid color areas

Limitations

PNG isn't ideal for every situation:

  • × Larger file sizes — Photos in PNG are much larger than JPG equivalents
  • × Not for photographs — JPG or WebP compress photos more efficiently
  • × No native animation — APNG exists but has limited support; use GIF or WebP instead
  • × Overkill for simple graphics — Small icons may be better as SVG

Technical specifications

Color depth

8-bit (256 colors) or 24-bit (16.7M colors)

Compression

DEFLATE lossless compression

Transparency

Full alpha channel (256 levels)

Metadata

tEXt, iTXt, zTXt chunks

File extension

.png

MIME type

image/png

PNG variants

PNG-8

8-bit color (256 colors max). Smaller files, good for simple graphics with limited colors.

PNG-24

24-bit color (16.7 million colors). Full color depth, larger files. Standard for most uses.

PNG-32

24-bit color + 8-bit alpha channel. Full transparency support with smooth edges.

Transparency tips

When working with PNG transparency:

  • Converting to JPG removes transparency — Choose a background color or it defaults to white
  • Semi-transparent pixels — PNG supports 256 levels of transparency per pixel
  • Preserve transparency — WebP also supports alpha channels if you need smaller files

Optimize PNG

Strip metadata and re-encode for smaller PNG files — no quality loss.

Optimize PNG images

Related guides

Other formats