Skip to main content

What is PNG?

PNG (Portable Network Graphics) is a raster image format that uses lossless data compression. It supports full-color images, alpha transparency, and is the standard format for images that require sharp edges, text, or transparent backgrounds. PNG was created as an improved, patent-free replacement for GIF.

PNG was developed in 1995 as a response to the patent disputes surrounding the GIF format and the LZW compression algorithm. It uses DEFLATE compression, which is lossless, meaning no image data is discarded when the file is saved repeatedly.

PNG is ideal for logos, icons, UI elements, screenshots, and any image with sharp lines or text. For photographic images, JPEG or WebP usually produce smaller files, since PNG's lossless compression is less efficient on noisy pixel data.

PNG also supports an 8-bit alpha channel, giving smooth transparency gradients that GIF cannot match.

Related tool

Try our free online Image Compressor — runs in your browser, no upload needed.

Open Image Compressor

Related terms

Frequently asked questions

Is PNG lossless?

Yes. PNG uses lossless DEFLATE compression, so the image quality never degrades no matter how many times the file is saved.

Does PNG support transparency?

Yes. PNG supports an 8-bit alpha channel, allowing smooth, semi-transparent edges, which makes it ideal for logos and UI graphics.

PNG vs JPG, which should I use?

Use PNG for graphics with sharp edges, text, or transparency, such as logos and screenshots. Use JPG for photographs where small file size matters more than pixel-perfect edges.