Switching

Compress image file size

Shrink photos and images to a target file size (KB or MB) for places with upload limits, like chat apps, forums, and job applications. Quality is adjusted automatically to fit the target, and files are never uploaded to a server.

Choose JPG or PNG files

Drag and drop multiple files at once

Try with an example

How to use

  1. Drag and drop the JPG or PNG files you want to shrink, or click to choose them. You can add several at once.
  2. Set your target file size and select the unit (KB or MB). For example, 1MB works well for profile pictures.
  3. Change the minimum quality and output format if needed. Set the minimum too low and you may hit the size, but the image will look rough.
  4. Click "Compress" and the tool searches for a quality that fits under your limit. With two or more images you can download a ZIP.

FAQ

Will the output match my target size exactly?
It aims for a size at or below your target, not an exact match. Quality is lowered step by step to get as close as possible without going over. If it reaches your minimum quality first, the file may end up slightly larger than the target.
How does compression affect image quality?
If the target leaves some room, the file shrinks with no visible difference. Set it far below the original and the image can start to break up. If quality matters, raise the target or the minimum quality.
Can I compress PNG files?
Yes. PNGs are accepted, but exporting as JPG shrinks them much more. Use JPG output for photos that don't need transparency, and keep the original format if they do.
Do you upload my images to a server?
No. Compression runs in your browser. Your files never leave your device and are cleared from memory when you close the page.

Related guides

Related tools