Compress images

Batch-compress JPEG, PNG, WebP, HEIC, and more, down to a size you choose. The files stay on this device.

PNG stays lossless. Quality and the size cap apply to JPEG and WebP.

Compress images in the browser

BgGone compresses a batch of images here: shrink JPEG, PNG, and WebP, or turn an iPhone HEIC into a JPEG. The work stays in this browser. Nothing is uploaded, and no login is required.

Add several files, then choose a quality, a long edge, or a target file size. Save them one by one, or pack them into one ZIP. For a transparent background, remove it first.

How it works

  1. Add images. Drag them onto the page, paste from the clipboard, or choose them from this device. This page takes JPEG, PNG, WebP, HEIC, GIF, BMP, and AVIF.
  2. Choose format, quality, and long edge. Keep JPEG, WebP, or PNG, or switch to one of those. Quality is Smaller, Balanced, or High. The long edge can stay as it is, or stop at 2560, 1920, 1280, 1024, or 512. A shorter original is not enlarged.
  3. Set a target size. JPEG and WebP can aim for 100 KB, 200 KB, 500 KB, 1 MB, or a size you type, up to 10240 KB. PNG stays lossless. Quality and the size cap apply to JPEG and WebP.
  4. Compare, then download. Preview opens a full-screen compare. Save one file directly. With several files, save them one by one or download one ZIP.

What it's for

  1. Fit a form limit. Applications, resumes, ID photos, and upload boxes often stop at 100 KB, 200 KB, or 1 MB.
  2. Turn HEIC into JPEG. iPhone camera originals are HEIC. This page decodes them in the browser and saves a JPEG.
  3. Handle a batch. Product photos, screenshots, and album exports can go through together. The button shows which file is in progress.
  4. Limit the long edge. For a web page, 1920 or 1280 is usually enough. A smaller original is not scaled up.
  5. Keep the file on this device. Decoding, resizing, and encoding all happen locally.
  6. No login, and no credits. Open the page and compress.

Who it's for

  • People sending an attachment that has a size limit
  • People who have HEIC from an iPhone and need a JPEG
  • People compressing a folder of product shots or screenshots
  • People who want the photos to stay on this device

What you get

  • A smaller file replaces the original in the download, named like photo_min_BgGone.jpg.
  • If the size and format are unchanged and the new file is not smaller, the download keeps the original bytes and the original name.
  • With Original format, JPEG, PNG, and WebP stay as they are. HEIC, GIF, BMP, and AVIF are saved as JPEG.
  • A GIF keeps the first frame, and the row says so.
  • JPEG fills transparent areas with white. WebP and PNG keep the transparency.
  • A file that is already small can grow when it is encoded again at a high quality. The row shows how much larger it got.
  • A newly encoded file keeps the pixels. Location, camera, and time are not written into that copy. The original file on this computer is left as it is.

FAQ

Do I need to log in?

No. Open the page and compress. This does not use credits.

Are the images uploaded?

No. Compression runs in this browser, and the files stay on this device.

Which formats are supported?

You can add JPEG, PNG, WebP, HEIC, GIF, BMP, and AVIF. The output is JPEG, WebP, or PNG. With Original format, HEIC, GIF, BMP, and AVIF are saved as JPEG.

Can it hit a chosen file size?

JPEG and WebP keep lowering quality to land under the size you set. If the file is still larger, that row says so. PNG is not compressed this way.

What happens to an animated GIF?

Only the first frame is kept, and the row says so.

What happens to transparency?

JPEG fills transparent areas with white. WebP and PNG keep the transparency.

Does the photo keep its location?

A newly encoded file keeps the pixels. Location, camera, and time are not written into that copy. The original file on this computer stays as it is. If the size and format are unchanged and the new file is not smaller, the download is still the original file, including that information.

Why did the file get larger?

A small original encoded again at a high quality can come out larger. Switch the quality to Smaller, or set a size cap.

What does a long edge of 1920 mean?

The long edge is the longer of the width and the height. At 1920, that side becomes 1920 and the other side scales with it. If both sides are already shorter, the size stays the same.

Does it work on a phone?

Yes. Compression does not download the background-removal model. A very large HEIC uses more memory, so a smaller batch is steadier.

Compress now

Drop the images in. The files stay on this device.