
Compress multiple PNG images at once ยท Maximum compression
Powered by Toolraxy

Founder & CEO, Toolraxy
Faiq Ur Rahman is a web designer, digital product developer, and founder of Toolraxy, a growing platform of web-based calculators and utility tools. He specializes in building structured, user-friendly tools focused on health, finance, productivity, and everyday problem-solving.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
Large PNG files slow down websites, consume storage space, and take longer to share. A PNG Compressor helps you reduce the file size of your images without installing software or uploading your files to external servers. This tool applies aggressive yet visually considerate compression techniques including alpha channel removal, color quantization, and dithering to shrink PNGs to a fraction of their original size while keeping them perfectly usable for web graphics, presentations, and digital projects. Whether you are a web developer optimizing page load times, a designer preparing assets for a portfolio, or anyone who needs smaller PNGs quickly, Toolraxy provides a free, client-side batch compressor that processes multiple images simultaneously and lets you download them individually or all at once.
ย
Click the upload area or drag and drop one or more PNG files directly onto it.
The tool automatically begins processing each image in sequence, showing progress for each file.
View per-file results including original size, compressed size, and percentage saved.
Click the Download button on any file card to save that individual compressed PNG.
Click Download All to save all compressed images sequentially.
Use Add More to compress additional files without resetting, or Reset to clear all results and start fresh.
ย
This PNG Compressor processes images entirely in your browser using the HTML5 Canvas API. No files are uploaded to any server.
The compression pipeline applies the following steps to each image:
The original PNG is loaded and drawn onto an off-screen canvas at its native dimensions.
The alpha channel is removed by setting every pixel’s alpha value to 255 (fully opaque). This eliminates transparency data, which can significantly reduce file size for images that do not require transparency.
First-pass color quantization reduces the number of distinct colors by rounding each RGB channel value to the nearest step in a 5-level grid (step size = 51). This limits the color palette to approximately 125 distinct colors.
Floyd-Steinberg dithering is applied in the same pass, distributing the quantization error to neighboring pixels to preserve visual gradients and reduce banding artifacts.
A second quantization pass further consolidates colors.
The processed canvas is exported as a PNG blob using the browser’s native PNG encoder with default compression settings.
If the resulting compressed blob is larger than or equal to the original, the original file is retained and marked as already optimized. Only valid PNG files under 25 MB each are processed. Oversized or non-PNG files are skipped with an alert.
ย
Suppose you have a 1.2 MB PNG screenshot with a 1920ร1080 resolution. Here is what happens:
The image is loaded and drawn to a canvas at full resolution.
The alpha channel is removed, slightly reducing the data per pixel.
Color quantization reduces the 16.7 million possible RGB colors to approximately 125 distinct colors per channel.
Dithering preserves the visual appearance of gradients and smooth transitions.
The compressed canvas is exported as a new PNG.
The result might be a 180 KB fileโan 85% reduction in sizeโwith visual quality that remains perfectly acceptable for web use, documentation, or sharing. The file card displays “ 1.2 MB โ
180 KB” and a green badge showing “
85% saved.” You download the compressed version and use it immediately.
Is this PNG compressor free to use?
Yes. The tool is completely free. There is no paywall, no registration, and no limit on the number of files you can compress.
Are my images uploaded to a server?
No. All image processing happens locally in your browser using the Canvas API. Your files never leave your device.
What is the maximum file size per image?
The tool accepts PNG files up to 25 MB each. Files larger than this are skipped, and an alert notifies you.
Can I compress PNGs with transparency?
The compression removes the alpha channel, so the resulting image will have a solid background. If you need to preserve transparency, keep an original copy and use this tool for opaque images only.
Why did some files show “Already optimized”?
If the compressed version is the same size or larger than the original, the tool keeps the original file and marks it as already optimized. This prevents you from downloading a file that did not benefit from compression.
Can I compress other image formats like JPEG or WebP?
This tool is specifically designed for PNG files. Other formats are filtered out during file selection.
How do I download all compressed images at once?
Click the Download All button. Each compressed image will download sequentially with a short delay between files to avoid browser blocking.
What happens if I close the browser during processing?
Processing is not saved between sessions. If you close the browser, you will need to re-upload and reprocess your files.
Does the tool change the image dimensions?
No. The width and height of the image remain unchanged. Only the color data and alpha channel are modified.
Can I use this on a mobile device?
Yes. The tool is responsive and works on mobile browsers, though processing speed depends on your device’s performance.
ADVERTISEMENT
ADVERTISEMENT