Compress Image Online Free

Re-encode an image as JPEG with a browser canvas quality setting and compare the resulting size.

Quality slider Client-side only Download compressed image
Select an image file to get started.

Files you can use and download

Image Compressor accepts image/jpeg, image/png, image/webp. Image Compressor produces downloadable image.

Image Compressor transparency behavior

For Image Compressor, jPEG cannot store alpha transparency. For Image Compressor, this implementation fills transparent pixels with white unless a single-format page exposes and submits another background color.

Image Compressor quality behavior

For Image Compressor, lossy output quality is passed to the browser canvas encoder, or clamped to 10–100 by the HEIC server path. For Image Compressor, pNG canvas output ignores the lossy quality argument. For Image Compressor, the setting is not a target file size.

Information that may be removed from the image

For Image Compressor, browser image paths draw decoded pixels to canvas and encode a new file. For Image Compressor, the code does not copy EXIF, GPS, IPTC, XMP, original filenames, animation frames, or other source metadata into the canvas output.

Browser and format support

For Image Compressor, success depends on the current browser being able to decode the selected source format and encode the requested canvas MIME type. For Image Compressor, unsupported AVIF or WebP codecs can cause loading or output-type failure.

Image Compressor dimensions and file-size limits

Image Compressor enforced limits: Quality control: 10–100 in steps of 5; One browser-decodable JPEG, PNG or WebP image The browser paths declare no application-level byte limit. For Image Compressor, browser memory, maximum canvas dimensions, and device resources can still prevent large images from completing.

How your image is handled

For Image Compressor, the selected file is read and re-encoded in the browser; this page code does not upload it to the application server.

Image Compressor example

Image Compressor sample input: One small JPEG image; quality = 80%. Image Compressor expected result: The expected download is a JPEG re-encoded at 80% canvas quality, with before and estimated-after sizes displayed; a smaller file is not guaranteed. To verify Image Compressor, reproduce its worked example and compare the displayed or downloaded downloadable image with the stated expected result. When Image Compressor returns a file, open the download and inspect every affected page or image.

ADVERTISEMENT

Frequently asked questions

Image Compressor accepts one image and a quality setting and produces downloadable image. Supported input: Image Compressor accepts image/jpeg, Image Compressor accepts image/png, Image Compressor accepts image/webp.
Image Compressor runs the image compressor operation in the current browser session.
For Image Compressor, quality control: 10–100 in steps of 5; For Image Compressor, one browser-decodable JPEG, PNG or WebP image.
Image Compressor precision: the operation does not round user-entered data; image quality or rasterization settings can change encoded pixels and file size.
To verify Image Compressor, reproduce its worked example and compare the displayed or downloaded downloadable image with the stated expected result. When Image Compressor returns a file, open the download and inspect every affected page or image.
ADVERTISEMENT
ADVERTISEMENT