About Batch Image Compressor
Add a whole set of pictures and choose how to compress them: at one quality for all, or under a largest file size, such as 200 KB for an upload form that refuses anything bigger. With a size target, each image gets the highest quality that still fits, found by trying a handful of qualities in turn.
The list shows every file's size before and after and the percentage saved, and "Download all" puts the results in one ZIP. Images are handled one at a time in this tab, so a long batch stays within a phone's memory.
How it works
- Each image is decoded in your browser, turned upright from its camera orientation, and scaled down if you set a longest side.
- With a quality aim it is encoded once at that quality. With a size aim it is encoded at quality 100, then at 1, then by halving the range between them until the best quality under your target is found, in at most nine tries.
- The new file is named after the original with "-min" added, so it never replaces the original when downloaded next to it.
Questions
What happens if an image cannot get under my target size?
If even the lowest quality is too big, that file is marked as failed with its smallest possible size, and the others carry on. Set a longest side, such as 1600 px, so the picture has fewer pixels to store, and run it again.
Why can a size target not be used with PNG?
PNG is lossless: it has no quality setting to lower, so there is nothing to trade for size. Pick JPEG or WebP for a size target, or reduce the longest side of PNG images instead.
Are the images uploaded anywhere?
No. Decoding, compressing and zipping all happen in this browser tab, and nothing is sent over the network.
How many images can I add?
Up to 300 files of up to 200 MB each. Very large photos take a few seconds each with a size target, because each try is a full encode.
Does compression keep animation or metadata?
No. Only the first frame of an animated image is kept, and the list says so when you add it. Camera details and location are not copied into the new file.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.