Compress PNG Images in Your Browser
Shrink PNG files without uploading them anywhere. Each PNG is reduced with a 256-color palette that keeps transparency, then tightened once more by a byte-level optimization pass. No sign-up, no limit on how many files you can add — and your images never leave your device.
Drop images here or browse files
PNG · JPG · WebP · AVIF — processed locally in your browser
Images are processed locally in your browser. PicForge does not upload your image files for compression.
- No signup
- No limit on how many files you can add
- No watermark
Need reusable presets or larger batch workflows?
Join the PicForge Pro waitlist — saved settings, bigger batches and first access when it opens.
✓ You're on the list. We'll be in touch.
Want it done for you? Get a branded share card, setup instructions and a public-page check — $9 introductory. See the Share Card Pack →
How it works
- Add your PNGs — drag and drop, or browse. Whole batches are fine; other formats keep their own format unless you pick an output format yourself.
- Compression runs locally — each file is palette-quantized by a WebAssembly codec in a background worker, then the final bytes get one optimization pass. Nothing is sent to a server.
- Download one by one, or all as a ZIP — every row shows the before/after size, and a compare slider lets you inspect the result against the original.
Specifications
| Processing | 100% in your browser — Web Worker + WebAssembly codecs; image files are never uploaded |
|---|---|
| Formats | PNG in and out by default; JPEG · WebP · AVIF inputs keep their own format unless you pick one in the output-format selector |
| PNG engine | Palette quantization up to 256 colors (alpha included), then a byte-level optimization pass (OxiPNG) on the final file only |
| Transparency | Alpha channel preserved; animated PNGs keep their first frame only, and the result row says so |
| Metadata | EXIF and text chunks stripped; re-encoded output is sRGB without an embedded ICC profile |
| Original guard | Same-format results that would not be smaller return your original file untouched — never a larger "compressed" file |
| Batch | Unlimited files per session · 2 processed at a time on desktop, 1 on mobile · ZIP download of all results |
| Limits | Single file up to 100 MB; extremely large images may exceed the memory a browser tab can use |
| Cost | Free, unlimited, no watermark, no account |
Good to know
PNG files are big for two different reasons, and this tool attacks both. The first is color count: a screenshot or illustration rarely needs millions of distinct colors, so re-encoding it with a palette of up to 256 colors — chosen per image, transparency included — removes most of the weight. The second is storage efficiency: the same pixels can be packed more tightly, which is what the byte-level optimization pass does to the finished file. It changes no pixels, and on our local benchmark corpus it took off a further 4–5% after quantization.
Two honest trade-offs come with the local design:
- Palette quantization is not lossless. For screenshots, UI assets and illustrations it is typically indistinguishable from the original; smooth photographic gradients can show slight banding if you zoom far in. If a PNG is photographic, a JPEG or AVIF version of the same image is usually far smaller still.
- Some files are already as small as they reasonably get. When re-encoding would produce a larger file, the tool hands your original back unchanged and tells you so, instead of shipping you a bigger "compressed" file.
Working on a phone? Batches run one file at a time there, and a very large image can take a few seconds. Desktop browsers process two files at once.
Frequently asked questions
How does this PNG compressor make files smaller?
In two steps. First the image is re-encoded with palette quantization — at most 256 colors, including the transparency channel. Then the finished file goes through a byte-level optimization pass (OxiPNG) that re-compresses the data stream without changing a single pixel. On our local 8-file benchmark corpus, that second pass squeezed out a further 4–5% after quantization, and it never returns a larger file.
Is this lossless PNG compression?
No — and any tool that quantizes colors should not call itself lossless. Reducing an image to a palette of up to 256 colors changes pixel values; for screenshots, UI assets, icons and illustrations the difference is typically invisible, while smooth photographic gradients can show slight banding if you zoom far in. The byte-level pass on its own changes no pixels at all, but the pipeline as a whole is a lossy one, so we describe it that way.
Will compressing a PNG remove its transparency?
No. The alpha channel is part of the palette, and the result row shows a "Transparency preserved" note when your original has transparent pixels. Logos, product cut-outs and UI assets keep their transparent backgrounds. One exception: an animated PNG (APNG) is treated as a still image — only its first frame is kept, and the row says so.
What happens to EXIF data and color profiles?
Re-encoded outputs carry no EXIF data and no text chunks — they are stripped during compression. Output pixels are written as sRGB and re-encoded files do not carry an embedded ICC profile, so a wide-gamut original can shift slightly in color. If a PNG of yours depends on its embedded profile, keep the original as your master copy.
Why did my PNG come back exactly the same size?
That file was already compressed about as far as this pipeline goes — re-encoding it would have produced a larger file, so the tool returns your original untouched instead of pretending to help. This original-file protection applies when the output format matches the input format; if you explicitly convert a file to a different format, you always get that format back.
Can I compress JPG, WebP or AVIF files on this page?
Yes — add them and they are compressed in their own format by default; this page only presets PNG output for PNG files, so nothing is silently converted into a bigger PNG. Pick a different output format in the selector if you do want a conversion. One limitation: CMYK JPEGs cannot be decoded by the browser codecs, so the tool reports that honestly instead of guessing at the colors.
Next steps
More free tools
Image Compressor · Compress JPG · Convert to AVIF · OG Image Generator · YouTube Thumbnail Maker · Certificate Maker · Tweet to Image · Testimonial Cards · Podcast Cover Maker · Color Palette Generator