Compress PNG
Compress PNG images in your browser: smaller files at the quality you choose, nothing uploaded. Free, unlimited, and private by design.
How to compress an image
- Drop or pick a PNG file, or paste it with Ctrl/⌘+V.
- Choose lossy for the smallest file or lossless to keep every pixel, then tune the quality.
- Compress, preview the before/after, and save, all on your device.
Why compress?
PNG is a lossless format with an alpha channel, pixel-perfect for logos, screenshots and line art. Compressing your PNG files makes pages load faster, lifts Core Web Vitals and cuts bandwidth, without a visible drop in quality when done right. Lossy reduces to a smart palette for big savings; lossless optimization keeps byte-for-byte identical pixels.
OptImg compresses PNG locally with the same high-quality optimization the best tools use, so you get the savings without the upload wait, the queue, or handing your images to a third party. If a file is already well optimized, we tell you and keep your original instead of handing back something larger.
Frequently asked questions
- Are my PNG images uploaded to a server?
- PNG compression runs at native speed entirely in your browser: nothing is uploaded, your image never leaves your device, and there are no size or file-count limits.
- What's the difference between lossy and lossless?
- Lossy gives the smallest files by discarding detail you're unlikely to notice; lossless only removes redundancy, keeping the image identical. Lossy reduces to a smart palette for big savings; lossless optimization keeps byte-for-byte identical pixels.
- Does compressing PNG keep transparency?
- Yes. PNG transparency is fully preserved through compression.