Local processing · No image uploads

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.

    Browser encoders vary. Unsupported output is reported.
    JPEG/WebP only. A setting, not a measured quality score.
    10–10,000 KB; 1 KB = 1,000 bytes. Tries lower quality down to 20%; size is not guaranteed. PNG ignores this target.
    Fits within both limits, keeps proportions and never enlarges.
    JPEG replaces transparency with this color.

    Choose images to begin. Your original files stay unchanged.

    How to compress images

    1. Select a small batch of JPEG, PNG or WebP images.
    2. Choose WebP for flexible web output, JPEG for photographs, or PNG for sharp graphics. Set the largest dimensions your page needs.
    3. Start with 80% quality. If you have a file-size limit, enter an optional target in decimal KB.
    4. 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.