PNG (.png)
Lossless image format with full transparency support — the standard for graphics, logos, and screenshots.
- Extension
- .png
- MIME Type
- image/png
Last updated
What Is a PNG File?
PNG (Portable Network Graphics) was created in 1995 as a patent-free replacement for GIF. It uses lossless compression — every pixel is stored exactly, and the image can be saved and re-opened infinite times with no quality loss.
PNG Compression
PNG uses DEFLATE compression (the same algorithm as ZIP files). Because it is lossless, it cannot compress photographs as efficiently as JPG — a PNG photograph is typically 3–10× larger than an equivalent JPG. For graphics, logos, and screenshots, however, PNG often produces smaller files than JPG because its compression algorithm exploits flat-colour areas efficiently.
Key Features
- Lossless — pixel-perfect reproduction, no generation loss on re-save
- Alpha channel — full 8-bit transparency per pixel (256 levels)
- Indexed colour — optional palette mode for simple graphics (up to 256 colours)
- Bit depth — supports 8-bit and 16-bit per channel
When to Use PNG
✅ Logos and icons (requires transparency or sharp edges) ✅ Screenshots containing text or UI elements ✅ Graphics with flat colours and hard edges ✅ Working/intermediate copies during editing ✅ Images that will be edited and re-saved multiple times
❌ Photographs (use JPG or WebP — PNG is 3–10× larger) ❌ Web images without transparency (use WebP for best ratio)
PNG vs JPG: Quick Reference
| Factor | PNG | JPG |
|---|---|---|
| Compression | Lossless | Lossy |
| Transparency | Yes (alpha) | No |
| Best for | Graphics, text, logos | Photographs |
| File size (photos) | 3–10× larger | Smaller |
| Generation loss | None | Yes (per re-save) |
Tools for PNG files
- Compress Image
Compress JPEG, PNG, and WebP images online without losing visible quality. Reduce file sizes instantly — no upload, runs in your browser.
- JPG to PNG
Convert JPG to PNG online in one click. Lossless output, transparent background support — runs entirely in your browser.
- PNG to JPG
Convert PNG to JPG online to reduce file size. Transparent pixels become white. Private — no upload, runs in your browser.
- Resize Image
Resize images online to exact pixel dimensions or a percentage. Works on JPG, PNG, and WebP. No upload — runs entirely in your browser.
- WebP Converter
Convert images to WebP format online, or convert WebP to JPG/PNG. Reduce file sizes by up to 30% — free, private, and browser-based with no upload required.
Related terms
Related terms
- Alpha Channel
An additional channel in an image that stores per-pixel transparency information, enabling backgrounds to show through.
- Lossless Compression
A compression method that reduces file size without discarding any data — the original file is reconstructed exactly from the compressed version.
- Transparency / Alpha Transparency
The ability of an image to have pixels that are partially or fully invisible, allowing backgrounds to show through. Supported by PNG, WebP, GIF (1-bit only), and AVIF — but NOT by JPEG.