Images & Design

Image Compressor

Re-encode photos in your browser, optionally shrink their longest edge, and compare the original file size with the exported result. A smaller quality setting can trade fine detail for fewer bytes; some images still become larger.

Free online tool

Loading tool…

Source images

Up to 12 images, 20 MB per file, 24 megapixels per image; 60 MB and 48 megapixels per batch. SVG is not accepted. GIF and animated formats export as still images.

Compression settings

Downsizes only; smaller images keep their dimensions. Adjust quality and compare the new file size. Re-encoding can make some images larger.

Maximum output: 32 megapixels per image, 64 megapixels / 64 MB per batch. Newly encoded downloads may lose metadata and color profiles.

Selected files are processed in your browser. This tool does not upload image bytes or fetch remote image URLs. Clear the tool to release its local image previews.

GET STARTED

How to use the Image Compressor

  1. 01

    Choose one or more raster images and review their original dimensions and file sizes.

  2. 02

    Set a maximum long edge. Images already smaller than that edge are not enlarged.

  3. 03

    Choose an output format and quality, then compress the batch.

  4. 04

    Compare each preview and size change, then download only the results you want.

Examples

A photo for a listing

Start with a 4,000 × 3,000 photo, set the long edge to 1,200, and export JPEG at 80% quality. The resulting dimensions are 1,200 × 900. The byte savings depend on the source image.

A transparent product image

Choose WebP or PNG to retain transparent areas. PNG has no quality slider because canvas PNG encoding is lossless; changing dimensions can still reduce its size.

What the comparison measures

The size comparison uses the selected file size and the newly encoded Blob size. A negative saving means the export is larger. Existing compressed JPEGs, tiny icons, and noisy images can gain bytes when re-encoded.

Quality and dimensions solve different problems

The quality setting affects lossy JPEG and WebP encoding. The maximum edge changes the number of pixels and preserves aspect ratio. Neither setting targets an exact number of kilobytes, and the tool does not iterate toward a requested byte budget.

Check visual detail

Inspect text, faces, gradients, and sharp edges before using the export. Repeated lossy encoding may introduce artifacts. Keep an original copy so that future edits do not begin with an already compressed export.

What to know

  • No exact target file size or guaranteed reduction.
  • Raster output only; no SVG, HEIC, PDF, or animated exports.
  • Image editing accepts raster files up to 20 MB and 24 megapixels each, with 60 MB and 48 megapixels total source limits.
  • Canvas output is limited to 16,384 pixels per edge and 32 megapixels per image; browser memory limits can be lower.
  • Newly encoded exports are still images. Metadata and color-profile retention are not guaranteed.

Common questions

Will every image become smaller?

No. The tool reports the actual result, including exports that are larger than their originals. Keep the original when the size or appearance is better.

Does 80% quality mean 80% of the original file size?

No. It is an encoder setting, not a size percentage. Different images and browsers can produce different byte sizes at the same setting.

Can I keep transparent backgrounds?

Use PNG or WebP. JPEG fills transparent areas with the selected background color.

Is this a lossless optimizer?

It is a canvas re-encoder with optional downscaling. PNG output uses lossless encoding of the rendered pixels, but metadata, color handling, and animation can change.

Sources & references