Image Compressor

Shrink JPG, PNG, and WebP images without losing quality — right in your browser.

ToolFlux's Image Compressor shrinks JPG, PNG, WebP and AVIF files right in your browser — your images never upload, and you can batch-process a whole folder and download the results as a ZIP.

Your files never leave your device — everything runs in your browser.

    Compress images without losing visible quality

    Large photos slow down websites, fill up phone storage, and bounce off email attachment limits. This free image compressor shrinks JPG, PNG, WebP and AVIF files right inside your browser — no upload, no account, no waiting in a queue. Because the work happens on your own device using your browser’s built-in image engines, your pictures stay completely private while still getting dramatically smaller.

    How to compress an image

    1. Add your images Drag your photos onto the box above, or click to choose them from your device.
    2. Set the quality Drag the Quality slider. Around 70–80 keeps photos looking crisp while cutting most of the file size.
    3. Optionally resize Set a maximum width or height to downscale oversized images — handy for web pages and email.
    4. Compress the files Click Process files and watch the progress bar as each image is compressed.
    5. Download the results Download each result, or click Download all (.zip) to save the whole batch at once.

    When to use image compression

    • Faster websites: smaller images improve page-load speed and Core Web Vitals, which helps both visitors and search rankings.
    • Email & messaging: get under the typical 25 MB attachment limit without cropping anything out.
    • Storage & backups: reclaim space on your phone, laptop or cloud drive by trimming years of oversized photos.
    • Marketplaces & forms: meet strict per-file size limits on listing sites, job applications and government portals.

    Quality, resizing and the never-bigger guarantee

    Lower quality values trade a little visual detail for a much smaller file; the sweet spot for most photographs is 60–80. PNG files are compressed losslessly, so the quality slider does not affect them. If you also set a maximum width or height, the image is scaled down with a high-quality filter while its aspect ratio is preserved, and small images are left untouched when “Don’t enlarge” is ticked. When you keep the original format and skip resizing, the compressor will never hand back a file larger than the one you started with — if re-encoding would not save space, you simply get your original bytes.

    Frequently asked questions

    Are my images uploaded to a server?
    No. Compression happens entirely inside your browser using your device’s own CPU. Your files never leave your device, so they are never seen by us or anyone else.
    Which image formats can I compress?
    JPEG, PNG, WebP and AVIF. Each image is re-encoded in its original format at the quality you choose, so a JPEG stays a JPEG and a PNG stays a PNG.
    Will the file ever get bigger after compression?
    No. When you keep the original format and do not resize, the tool compares the result to your original and keeps whichever is smaller, so you never download a larger file.
    Can I compress many photos at once?
    Yes. Drop in a whole batch, watch the progress bar, then download each result individually or grab everything in one ZIP file.
    Is there a maximum file size I can compress?
    There is no fixed limit set by the tool. Because compression runs on your own device, the practical ceiling is your device’s available memory. Ordinary photos process instantly; very large images (tens of megapixels) simply take a little longer and use more RAM.
    Does the compressor work offline?
    Yes. Once the page has loaded, all the code it needs is already on your device, so you can disconnect from the internet and keep compressing. Nothing is fetched from a server during processing.
    Will compressing strip the EXIF metadata from my photos?
    Yes. Re-encoding a photo through the browser’s image engine drops embedded metadata such as GPS location, camera model and timestamps. That is good for privacy, but keep an original copy if you need to preserve that information.
    Does it work on my phone?
    Yes. The compressor runs in any modern mobile browser on iPhone and Android. Tap the box to pick photos from your camera roll, choose a quality, and download the smaller versions straight to your device.