Skip to content

Compress Images to a Target File Size

Choose a size in KB for your JPG, PNG or WebP files. Compress them locally, compare the result with the original and download the files that meet your limit.

Tools

Drop or paste your images here
Still images · JPG / JPEG / PNG / WebP · Up to 50 files, 100 MiB each
Target file size
Files never leave your device

Your files

Choose a limit for each image: 100 KB, 200 KB, 1 MB or a custom amount. One KB is 1000 bytes. Enter a longest side such as 800 pixels to resize and compress from the same source. Smaller images are never enlarged. Leave the field empty to keep the original dimensions. If the input already meets both limits its data is preserved. Otherwise the browser tries encodings at the requested dimensions. PNG tries an exact palette first, then reduces RGB precision if necessary while keeping alpha. JPG and WebP adjust quality. Additional downscaling requires your explicit selection. Check the measured bytes and dimensions before downloading; the 100% comparison lets you inspect fine text or textures at their native pixel size.

Result

The side-by-side thumbnails come from the source and from decoding the actual saved file. A smaller file may show changes in hair, leaves, text or smooth gradients. Use the larger result if an upload limit permits it. When preparing a batch for a form, compare each result against the form’s individual attachment limit and remember that a separate overall limit might apply to the whole submission.

File and batch limits

Add up to 50 files totaling 512 MiB. Each image can be up to 100 MiB, 52 megapixels and 16,384 pixels on its longest side. At 128 MiB of results, download and remove completed files to continue. ZIP downloads support up to 32 MiB.

Frequently asked questions

What if my photo cannot fit at its original resolution?

The file is marked when it exceeds the cap even at low quality. You can increase the target or explicitly allow smaller dimensions, then run the job again. With resizing enabled, width and height decrease together. Successful results always fit the chosen byte limit. Changing the target and running again reads the original file, so you can try another size without recompressing a previous download.

How do I save a batch?

Each successful result has its own download. The ZIP option collects files up to a combined 32 MiB and numbers duplicate names. For larger batches, save and remove some finished files before downloading the next group.

What happens to my original?

Your browser reads the source and writes a separate file. Closing the page clears the temporary queue. Images already saved to your downloads stay on the device, and the original is available if you want to try another format or keep camera information.