Skip to content
ToolMug

Image Compressor

Reduce image file size with the same encoders Google's Squoosh uses — MozJPEG, OxiPNG, libwebp and libavif — right in your browser. Compress many images at once, resize them, or aim for a target size such as 200 KB. Your photos are never uploaded.

Runs in your browser — nothing you enter is uploaded

Settings

75

Finds the highest quality that fits under this size (KB). Leave empty to use the quality slider.

Files process automatically with these settings. After changing settings, process existing files again.

or drop files here

You can also paste an image with Ctrl+V / ⌘V

Results

Results will appear here.

    How to use

    1. Choose images, drag them onto the page or paste a screenshot. You can add as many as you like.
    2. Keep the original format or switch to WebP or AVIF for much smaller files, then set the quality — 70–80 is a good balance for photos.
    3. Optionally set a maximum width and height, or enter a target size in KB to find the best quality that fits.
    4. Download each image, or all of them as a ZIP.

    Options explained

    Quality
    Lower quality means smaller files and more visible artefacts. For photos, 75 in MozJPEG is usually indistinguishable from the original on screen. It does not apply to PNG, which is always lossless.
    Output format
    WebP files are typically 25–35% smaller than JPEG at the same visual quality, and AVIF often 50% smaller. All current browsers display both; some older desktop software does not.
    Target size
    Searches for the highest quality that stays under the size you enter, which is handy for upload forms with limits like "under 100 KB". If even the lowest quality is too big, reduce the dimensions.
    Resize
    Scales the image down to fit within the maximum width and height, keeping the aspect ratio. Images are never enlarged. A 4000-pixel phone photo resized to 1920 pixels is roughly a quarter of the size before any compression.
    Lossless
    WebP and AVIF can compress without losing any detail. Files are larger than lossy output but often smaller than PNG.

    Typical results

    The table shows what to expect for a 12-megapixel phone photo (4032×3024, 3.1 MB JPEG). Your results depend on the content — detailed textures compress less than skies and walls.

    Settings Size Notes
    JPEG, quality 75 ≈ 1.2 MB Visually identical on screen
    JPEG, quality 75, max width 1920 ≈ 330 KB Good for websites and email
    WebP, quality 75, max width 1920 ≈ 230 KB Same look, about 30% smaller than JPEG
    AVIF, quality 60, max width 1920 ≈ 140 KB Smallest, slower to encode

    Tips for web images

    Frequently asked questions

    Are my images uploaded to a server?

    No. Decoding, resizing and encoding run in your browser with WebAssembly builds of the encoders, so the images stay on your device.

    Why did my PNG barely get smaller?

    PNG compression here is lossless — it finds a more efficient encoding without changing any pixels. For photos saved as PNG, converting to WebP or JPEG will shrink them far more.

    How do I compress an image to under 100 KB?

    Enter 100 in Target size. The tool tries different quality levels and keeps the best one that fits. If it still does not fit, tick Resize and lower the maximum width.

    Is the location and camera data removed?

    Yes. The output files are re-encoded from pixels, so EXIF metadata such as GPS location, camera model and capture time is not carried over. Orientation is applied to the pixels first, so photos are not rotated.

    Why is the output larger than my original?

    The original was probably already heavily compressed. Re-encoding at a higher quality cannot recover detail and may add bytes; lower the quality or keep the original.

    Can I compress HEIC photos from an iPhone?

    Not yet — most browsers cannot decode HEIC. On the iPhone, choose Settings → Camera → Formats → Most Compatible to take JPEG photos, or export them as JPEG first.

    Privacy

    This tool runs entirely in your browser. Your files and text are processed on your device and are never uploaded to our servers.

    Related tools