IMG · Images tools

Image Compressor

Compress images for the web before uploading them to a CMS, shop, blog, static site, or email system. Choose an output format, resize mode, quality setting, or target file size, then download a single result or a ZIP.

Use it when the task is direct: reduce file size, keep the format when needed, resize oversized files, and avoid returning a larger output than the source.

Compression controls

Quality mode sets a visual quality value for JPEG, WebP, and AVIF output. Lower values create smaller files with more visible compression artifacts. PNG remains lossless, so the quality slider is not the main control for PNG size.

Target size mode works from the other direction. Enter a KB limit and the compressor searches for the highest quality that fits under it. This is the setting to use when a CMS, marketplace, or email field rejects files above a fixed size.

Resize before export

Large pixel dimensions often matter more than compression quality. A 4000px photo can stay heavy even after quality is lowered because the browser still has to encode millions of pixels.

Use max width, max height, fit within box, scale percent, or exact size when the image is larger than the place it will be displayed. For many web pages, resizing a large camera image before compression saves more than pushing quality down too far.

Format decisions

Use WebP or AVIF for smaller web assets when the destination accepts them. Use JPEG for photos when broad compatibility matters and transparency is not needed. Use PNG for graphics, hard edges, or transparency where lossless output matters more than file size.

JPEG cannot store transparency. When exporting transparent images as JPEG, the background color fills transparent pixels before the file is encoded.

Batch output

Each image can use the global settings or its own per-image overrides. Compress one card, download one result, or process the full list into compressed-images.zip.

The output summary shows the before and after size. If the new file would be larger, the original is kept instead of forcing a worse result.

Frequently Asked Questions

The tool accepts common image files including PNG, JPEG, WebP, AVIF, GIF, HEIC, TIFF, BMP, TGA, SVG, and ICO. Unusual formats still depend on browser and encoder support.

You can keep the original format or export as WebP, AVIF, JPEG, or PNG. WebP and AVIF are often smaller for web images, while PNG is lossless and keeps transparency.

Yes. Choose Target size mode and enter a size in KB. The compressor searches for the highest quality that fits under that target when the output format supports quality changes.

If the compressed result is larger than the original, the tool keeps the original file instead and marks it as already optimal.

No.

Explore Our Tools

Browse all tools