๐Ÿ—œ

Image Compressor

Compress and convert images to JPEG, WebP or PNG. Set separate width and height limits and compare both dimensions and file sizes.

Practical Guide
Choose an image

Click or drop an image here

โ“What is this?

Image compression reduces the bytes needed to store an image. Reducing dimensions and choosing an encoding format can both affect the result.

โœจFeatures

โšก

Independent width and height limits

The output retains the source proportions while respecting the tighter limit. An already small image is not enlarged.

๐ŸŽฏUse Cases

Prepare images for a website

Compare JPEG and WebP output at the same dimensions before choosing an asset for a web page.

๐Ÿ“šPractical Guide

Canvas

The image fits within both limits without upscaling. The browser encodes JPEG and WebP with the selected quality, and PNG uses lossless encoding.

๐Ÿ’ฌFrequently Asked Questions

โ“Will the output always be smaller?
No. File size depends on the source, dimensions, format and quality. JPEG uses a white background for transparency, and animated inputs export a single frame.
๐Ÿ’ฌWhere does processing take place?
The tool processes your input in the current browser session.

๐Ÿ’กPractical Guide

๐Ÿ’ก

Load Sample

Load the landscape sample to see a 600 ร— 400 JPEG. After adjusting the format or limits, select Recompress and compare sizes before downloading.

๐Ÿ”—Related Documents

๐Ÿ“–MDN ยท HTMLCanvasElement.toBlob()Canvas image encoders and quality options.
๐Ÿ“–MDN ยท Image file type and format guideBrowser image formats and their characteristics.

๐Ÿ“Update Log

๐Ÿ“Œv1.11.261128
v1.11.261128

Fixed both dimension limits and export filename matching, added a sample, and made PNG quality controls match its lossless encoding.

๐Ÿ“ฆRecommended Components

User Comments

0 / 2000
Loading...