How it works
Add your images and pick a preset. For each file the server runs a quick trial compression and reports the estimated size and a quality grade, so you can compare presets before committing. Changing a setting refreshes the estimates.
Compress sends every image with your settings. The server uses the best encoder it has for each format: MozJPEG for JPEG, pngquant and oxipng for PNG, cwebp for WEBP and avifenc for AVIF, with Pillow as the fallback. The encoder list at the top of the tool shows which ones this server has.
Keep original keeps each file in its own format. Smart tries every format at your preset and keeps the smallest. If a re-encoded file comes out larger than the original and you have not asked for a new format or size, you get the original back unchanged.
Privacy
Your images are uploaded to the Mathulate server to be compressed. The server holds each image in memory while it works. When it calls a command-line encoder, it writes a working copy to a temporary folder that is deleted as soon as that step finishes. While an upload is being received, the web server may hold a large file in a temporary file, which is removed when the request ends.
Nothing is saved to a database or kept after the response is sent. The server log can record a file name when an image fails to compress.
Frequently asked questions
What do the quality grades mean?
They come from PSNR, a measure of how far the compressed pixels are from the original. Excellent is 42 dB or more and looks identical; very good is 36 dB or more; good is 30 dB or more with minor artifacts up close; fair is 25 dB or more with visible loss; poor is below 25 dB. Lossless means pixel for pixel the same.
Why is an estimate missing for a large file?
Files over 25 MB skip the trial run so the page does not upload them twice. They still compress normally when you select Compress images.
Does resizing keep the aspect ratio?
Yes. Max width and max height are limits: the image shrinks until it fits inside both, and it is never enlarged.
Why is AVIF unavailable?
AVIF needs the avifenc encoder on the server. When it is not installed the option is turned off rather than giving you a poor result.