Skip to content
Udecode Udecode

Developer Tools

Free Online Image Compressor

Compress and resize JPEG, PNG, and WebP images in your browser. Compare original and output images and file sizes, choose quality for JPEG or WebP, and download each result. Your image files are not uploaded to Udecode.

Image Compressor is loading…

Compress and resize JPEG, PNG, and WebP images locally in your browser. Compare original and output dimensions and file sizes, process batches, and download each result. Images are not uploaded to Udecode. Re-encoding may remove metadata such as EXIF camera or location details.

How to use Image Compressor

Choose JPEG, PNG, or WebP images

Select or drop up to ten images. Each file is checked by its content signature and declared type, then checked for file size, dimensions, and readability before decoding.

Adjust output and dimensions

Choose JPEG, PNG, or WebP output. JPEG and WebP use lossy quality settings; PNG uses lossless canvas encoding and has no lossy quality control. Set one or both maximum dimensions to resize while keeping the aspect ratio, or enter exact dimensions with aspect ratio disabled.

Compare and download results

Review each original and processed preview, dimensions, file size, and whether the output became smaller or larger. Download each result individually; no particular reduction is guaranteed.

Frequently Asked Questions

Which image formats are supported? +

JPEG, PNG, and WebP are accepted as inputs. JPEG, PNG, and WebP are available as output formats when supported by the browser. Animated GIF and WebP, HEIC/HEIF, SVG, and other formats are rejected.

How does image compression quality work? +

JPEG and WebP use lossy canvas encoding: lower quality may reduce file size while introducing visible artifacts. PNG is encoded losslessly by the browser and does not use a quality slider. Output size depends on image content and browser encoding and may be larger than the original.

Can I resize images and keep their proportions? +

Yes. Enter one or both maximum dimensions with Maintain aspect ratio enabled. Each image fits within those bounds. Upscaling is off by default and must be explicitly enabled.

What happens to transparent pixels when I choose JPEG? +

JPEG does not support transparency. Choose a background color; transparent areas are filled with that color before encoding. PNG and WebP output can retain transparency where the browser supports it.

Are my images uploaded or stored? +

No. File checks, image decoding, resizing, encoding, previews, and downloads happen in your browser. Image content is not uploaded to Udecode, saved persistently, or included in analytics.

Does the output preserve EXIF metadata and color profiles? +

Canvas re-encoding may remove EXIF metadata, including camera or location details, and may change color-profile handling. The compressor does not promise metadata or profile preservation.

How many images can I process at once? +

A batch can include up to ten files, with a 20 MB per-file limit, 50 MB total input limit, 60 MB total output limit, and 24 million total decoded pixels. Each image is processed independently, so one failed image does not prevent other files from processing.

Explore more from Udecode

Explore more online tools and services from Udecode.