Reduce PNG file size
Make a PNG small enough for an email, a form or a web page, still as a PNG with a transparent background.
- Nothing is uploaded
- Works offline after first visit
- Open source
- No watermark · limit is your device’s memory; phones hold less
Reduce the file size of a PNG in your browser while keeping it a PNG with transparency. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The size limit is your device’s memory, and phones hold less; give the page a short while after one visit to save itself for offline use, and then it works offline.
Done
Free, no ads. Support StayPut
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
Upload forms, email newsletters, app stores and CMSs often cap image sizes at 1 or 2 MB, and a retina screenshot or a logo exported at full size easily passes that. Converting to JPG would shrink it, but loses the transparent background and blurs text and sharp edges. Reducing the colours in the PNG keeps both.
This page rewrites the PNG with a palette of up to 256 colours picked for that image. Text, UI screenshots, charts and logos look the same and are typically a quarter to a third of the size. If you need smaller still, lower the colours to 128 or 64, or reduce the pixel dimensions first with the Resize image tool.
Your PNGs are processed in your browser and never uploaded, so screenshots of dashboards, invoices or unreleased designs stay private.
How it works
- Drop the PNG, or tap to pick it. Several at once is fine.
- Keep Best quality, or pick fewer colours for a smaller file.
- Compress, check the new size, and download.
In your browser, not on a server
UPNG.js (MIT), the PNG codec from the Photopea editor, reads the PNG byte by byte in your tab, so the exact pixels are used, not a canvas copy. For lossy compression it reduces the image to a palette of up to 256 colours chosen for that image and writes an 8-bit PNG with full transparency; lossless mode keeps every pixel and picks the tightest colour type and filters. The result is compressed with pako’s deflate (MIT) and saved from memory.
Compared with upload-based tools: Compressors that process your PNGs on their server usually limit free use. Screenshots, design exports and logos are often confidential. Here your files are not uploaded, and there is no daily limit or file cap.
Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Can I reduce PNG size without losing quality?
Choose Lossless: every pixel stays identical and the file is stored more efficiently, usually 5 to 30 percent smaller. The colour palette options save far more, with changes most people cannot see.
Should I just convert to JPG?
For photos, yes: JPG or WebP is much smaller. For screenshots, text, logos and anything with a transparent background, a compressed PNG looks sharper and keeps the transparency.
Is the file uploaded anywhere?
No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.
More image tools
Compress PNG
Shrink PNG screenshots, logos and graphics while keeping them PNGs, transparency and all. Nothing is uploaded.
GIF to WebP
Turn animated GIFs into animated WebP files that are far smaller, with their timing and looping. Converted on this device, never uploaded.
APNG to GIF
Turn APNG files into animated GIFs that chat apps and upload forms accept. Converted on this device, never uploaded.
HEIC to JPG
Turn iPhone and iPad photos into JPG or PNG files that open anywhere. Your photos never leave this device.
Other conversions
- WebP to GIF
- PNG to GIF
- JPG to GIF
- JPG to TIFF
- PNG to TIFF
- ICO to PNG
- Any image to JPG
- Any image to PNG
- JPEG to JPG
- HEIC to PNG
- PNG compressor
- Compress image to 1 MB
- Compress image to 2 MB
- Resize image to 3000×3000
- Resize image to 1920×1080
- Resize image to 1024×1024
- Resize image to 512×512
- YouTube banner resizer
- YouTube thumbnail resizer
- Facebook cover photo resizer
- Discord banner resizer
- Compress JPG
Guides
- How to compress a PNGPNG does not have a quality slider, which is why shrinking one confuses people. Here is what actually works, and what it costs.