Quick Answer
PNG (Portable Network Graphics) is a lossless image format: it keeps exact pixel data, so quality never degrades. It supports transparency, opens in every browser and application, and is the standard format for logos, icons, screenshots, and graphics with text.
What Is a PNG File?
PNG (Portable Network Graphics) is a raster image format created in 1996 as a free, patent-free replacement for GIF. Its compression is lossless, so no image data is lost when the file is saved. PNG supports full alpha-channel transparency, which makes it the standard format for images with see-through areas.
How PNG Compression Works
PNG compresses in two stages:
- Filtering, a pre-processing step that predicts each pixel's value from its neighbors and stores only the differences, which makes the data easier to compress
- Deflate compression, the same lossless algorithm ZIP files use, which finds repeated patterns and encodes them efficiently
Together they keep every pixel exact while making the file smaller than raw, uncompressed image data.
Key Characteristics
| Feature | Detail |
|---|---|
| Full name | Portable Network Graphics |
| Created | 1996 |
| Compression | Lossless (deflate/inflate) |
| Transparency | Yes (full alpha channel, 8-bit) |
| Max color depth | 48-bit RGB + 16-bit alpha |
| Animation | APNG (limited browser support) |
| Browser support | Universal (all browsers) |
| Licensing | Free and open (no patents) |
When to Use PNG
- Logos and branding, where edges and text must stay crisp
- Icons and UI elements, which scale cleanly without artifacts
- Screenshots, so text and interface elements render exactly
- Graphics with transparency, which the alpha channel preserves
- Images you will keep editing, since repeated saves lose no quality
- Line art and illustrations, whose solid colors compress well
When to Use Something Else
- Photographs: JPG or WebP produce much smaller files with acceptable quality
- Web performance: WebP or AVIF make smaller files that load faster
- Email attachments: JPG files are smaller and stay under size limits
- Limited storage: lossy formats save a lot of space
PNG vs JPG at a Glance
| Aspect | PNG | JPG |
|---|---|---|
| Quality | Pixel-perfect, lossless | Degrades with compression |
| Transparency | Yes | No |
| Photo file size | Very large (5-10 MB) | Small (200-500 KB) |
| Text sharpness | Perfect | May show artifacts |
| Best for | Graphics, logos, screenshots | Photos, web images |
Try It Now
Convert, compress, and optimize PNG files in your browser, with no software to install and no uploads to a server.