Richscripts

中文版

Compress images to a target size

Drop JPG, PNG, WebP or iPhone HEIC photos, pick the size a form or website accepts (for example under 200 KB), and download the results. Resize and convert in the same step.

Your images stay on your device. Each file is read, compressed and converted in this browser. Nothing is uploaded.

1. Add images

Drop images here, or click to choose files

JPG, PNG, WebP, GIF, BMP and iPhone HEIC

2. Settings

Maximum width 0 keeps the original dimensions. Images are never enlarged. To reach a small target size, the tool lowers the quality first and only then reduces the dimensions.

3. Compress and download

How it works

  1. Add one or more images. iPhone HEIC photos are decoded in the browser (the decoder downloads once, about 1.3 MB, only when you add a HEIC file).
  2. Choose a target size such as 100 KB or 200 KB, or a quality. With a target size, the tool tries qualities from high to low and keeps the best one that fits; if even a low quality is too big, it reduces the width and height step by step.
  3. Download each file, or all of them in one ZIP.

JPG has no transparency, so transparent areas become white. Use WebP to keep transparency at a small size. PNG is lossless: it can be resized but not compressed to a target size. Photo metadata such as location (EXIF GPS) is not copied to the compressed files. Batch size depends on your device's memory.

Questions

How do I compress an image to 100 KB or 200 KB?

Choose “Target file size”, enter the limit in KB and add your image. The tool tries qualities from high to low and keeps the best one that fits. If even a low quality is too large, it reduces the width and height step by step until the file fits.

Are my photos uploaded?

No. The images are decoded, compressed and encoded by your browser on your device. Nothing is sent to a server.

Can I convert iPhone HEIC photos to JPG?

Yes. Add the HEIC photos and choose JPG (the default for HEIC). Safari decodes HEIC itself; in other browsers a decoder of about 1.3 MB loads once when you add the first HEIC file.

Will the image keep its transparency?

JPG has no transparency, so transparent areas become white. Choose WebP to keep transparency at a small size, or PNG for lossless output.

More image tools