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.

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.

Drop PNG files to make smalleror click to choose files. Batches welcome.
    Details

    Fewer colours means a smaller file. Transparency is always kept, and the file stays a PNG.

    Working…

    Done

    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

    1. Drop the PNG, or tap to pick it. Several at once is fine.
    2. Keep Best quality, or pick fewer colours for a smaller file.
    3. 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

    Other conversions

    Guides