Skip to main content

All processing done locally in your browser

Image Machine logo
Image Machine

Compression

Choose a tool to get started

JPG Compression

PNG Compression

WebP Compression

GIF Compression

BMP Compression

How compression works here

Compression here answers a specific question: how small does this file need to be, and what is the least quality you have to give up to get there. Pick a format compressor to work by quality slider, or pick a size target such as 200 KB and let the encoder search for the setting that lands under it. Everything runs in the browser through WebAssembly encoders, so a 20 MB camera file is squeezed on your own machine rather than queued on someone else's. Original files are never uploaded and the result downloads straight from the page.

Frequently Asked Questions

How do I compress an image to an exact size like 100 KB?

Use one of the size-target pages, for example compress to 100 KB. Instead of asking you to guess a quality value, it re-encodes the image repeatedly, adjusting quality until the output lands just under your target. That search takes a second or two and lands far closer to the limit than manual guessing.

Does compressing an image lower its quality?

For JPEG and lossy WebP, yes, by a controlled amount you choose. Most photos survive a drop to quality 75 to 80 with no visible difference at normal viewing size while losing more than half their bytes. PNG compression is lossless, so the pixels are identical and the savings come from better encoding and, optionally, fewer colours.

Which format gives the smallest file?

For photographs, WebP is typically 25 to 35 percent smaller than JPEG at matching quality, and AVIF smaller still. For flat graphics, logos and screenshots, PNG or lossless WebP wins because photo codecs waste bits on the sharp edges. If the destination is an old system that only accepts JPEG, stay with JPEG and lower the quality instead.

Can I compress several images at once?

Yes. The compressors accept multiple files in one go and process them in sequence with the same settings, then hand back each result. Since the work happens on your own CPU, a batch of large files takes proportionally longer than a single one.

Will compression remove my EXIF data?

Re-encoding drops most metadata as a side effect, but do not rely on that for privacy. If your goal is specifically to strip GPS coordinates, camera serial numbers and timestamps before sharing, use the dedicated EXIF remover, which is built to clear those fields and confirm they are gone.

Compress an image to a target size

Compress to 10 KB

Compress to 20 KB

Compress to 25 KB

Compress to 30 KB

Compress to 40 KB

Compress to 50 KB

Compress to 80 KB

Compress to 100 KB

Compress to 150 KB

Compress to 200 KB

Compress to 250 KB

Compress to 300 KB

Compress to 400 KB

Compress to 500 KB

Compress to 1 MB

Compress to 2 MB

Compress to 3 MB

Compress to 5 MB