Image Compressor
Compress JPEG, PNG, WebP or HEIC/HEIF to a target in KB or MB. Images stay on your device. Keep their dimensions or choose a smaller maximum side.
On your device. Your input is not uploaded or saved.
How to compress an image to a specific size
- Choose or drop up to 20 JPG, PNG, WebP or HEIC/HEIF images.
- Pick a mode: Auto for balanced quality, Target size for a maximum file size, or Manual to set the quality yourself.
- For a target, type a size or pick a preset: 100 KB, 200 KB, 500 KB, 1 MB or 2 MB.
- Press Compress. Each result shows its new size and whether the target was met; open Compare previews to check the quality.
- Download each image or a ZIP. Names keep the original with a suffix, such as photo_optimized.jpg.
Compress to 100 KB, 200 KB or any size
To compress a JPEG to 100 KB for an online form, choose Target size and the 100 KB preset. The compressor encodes the image at several quality levels, measures the real file size each time and keeps the highest quality that fits, with up to 12 attempts per image. Units are decimal: 100 KB is 100,000 bytes.
If no quality level fits, you get the smallest version, marked Target not met. Dimensions are kept by default, so a large photo may need a smaller Maximum side, such as 1600 px, to reach a small target.
Modes and formats
Auto keeps the format and dimensions and saves JPEG at 82% quality and WebP at 80%. Manual applies your quality from 1 to 100%. PNG is always saved losslessly, so it shrinks less and often cannot reach small targets; choose WebP or JPEG for those.
HEIC and HEIF photos become JPEG by default; choose PNG or WebP for another output. Choosing JPEG for a PNG or WebP fills transparent areas with the background color, white by default.
While you keep the format, Keep original if it is smaller is on: if re-encoding would make an image bigger, you get the untouched original, marked Original kept. Re-encoded images discard the original metadata, such as camera details and location; an unchanged original keeps it.
Limits
Up to 20 images, 25 MB each and 100 MB in total, each up to 24 megapixels. Results can total 32 MiB per batch. Images are processed one at a time. GIF, SVG and animated images are not accepted; use Image Converter for those.
Where do my files go?
Images are compressed in your browser and are not uploaded or saved by this tool. They are never included in analytics events.
Like the rest of the site, this page uses Google Analytics and Yandex Metrica, including Metrica session replay. Tool events report only that the tool was opened or used.
Also useful