Image Compressor
Make website images smaller with a new format, less quality or fewer pixels. Compress a batch of JPEG, PNG or WebP files, then check the actual savings before downloading.
Choose images and settings
Or drop files here. Up to 8 images; 12 MiB each; 40 MiB combined. Maximum 12 million pixels and 8,192 pixels per side. Static images only. A new selection replaces the current batch.
Choose images to begin. Your original files stay unchanged.
Compression results
Settings changed. These downloads still use the previous settings. Compress again to apply your changes.
Totals include successful results only. A generated file may be larger; the original is never substituted for the reported result.
Compare fitted previews
Previews fit within 640 × 640 pixels. Transparency appears over gray. Download and inspect at full size for small text, edges, color and compression artifacts.
How to compress images
- Select a small batch of JPEG, PNG or WebP images.
- Choose WebP for flexible web output, JPEG for photographs, or PNG for sharp graphics. Set the largest dimensions your page needs.
- Start with 80% quality. If you have a file-size limit, enter an optional target in decimal KB.
- Compress, compare, then download each result you want to keep. Lower dimensions or quality and rerun if it is still too large.
Keep your source files. Repeatedly recompressing an already lossy image can accumulate visible damage.
Read the results
Saved bytes are the original size minus the generated size. Percentage reduction is saved bytes divided by the original size, multiplied by 100. A larger output is labeled as growth. KiB means 1,024 bytes; MiB means 1,048,576 bytes.
The target search tests at most seven quality settings per image. “Target met” refers to the actual generated file. If the target is missed, reduce the pixel dimensions or try a different format. A quality value is an encoder setting, not a percentage of visual detail retained.
Formats and limitations
JPEG and WebP output use the browser’s lossy encoder. PNG keeps canvas pixels without a lossy quality setting, but this is not a specialized PNG optimizer: a PNG may get bigger, and resized or color-converted pixels can differ from the source.
JPEG cannot keep transparency. PNG and WebP can. Animated PNG/WebP, GIF, SVG, HEIC, AVIF and unusual JPEG modes are rejected. This tool does not silently flatten animations. Browser output support and image decoding vary.
Images are redrawn through canvas. Original EXIF, GPS, copyright and other source metadata are not copied. Browser color conversion, orientation handling and new encoding metadata may affect results. This is not an archival or color-proofing tool.
Privacy and safe limits
The compressor reads selected files in this tab and makes no image-processing network requests. It uses no account, image upload, persistent storage or external codec library. Normal site assets and the shared site analytics may still load; image bytes and filenames are not sent by this tool.
Files are processed one at a time. Output files retained in this tab are limited to 40 MiB. Clear removes the selection, previews and download links from this page; closing the tab releases its working state. Native browser work cannot be forcibly canceled, so a timed-out operation stops the batch and requires a reload before further processing.
Technical references: HTML canvas serialization, PNG specification and WebP container specification.