Home › Image Tools › Image Compressor

Free Online Image Compressor

Compress photos and graphics for your website, email or social media, or to a set file size such as 20 KB or 100 KB — right in your browser.

Your files stay on your device. This tool processes your file directly in your browser. Nothing is uploaded to our servers.

Drop images here

or choose files from your device — you can also paste an image.

JPG, PNG or WebP · up to 50 MB each · processed on your device
Compress by
Lower = smaller files. 70–85% is usually indistinguishable.

    How it works

    1. Drop one or more JPG, PNG or WebP images onto the page, or click Choose images.
    2. Pick a quality level — 70–85% keeps photos looking the same while cutting their size — or choose Target file size and enter a limit such as 50 KB.
    3. Optionally switch the output to WebP or set a maximum width for extra savings.
    4. Click Compress images, then download each file or everything as a ZIP.

    Frequently asked questions

    Are my images uploaded to a server?

    No. Compression happens inside your browser using the Canvas API. Your photos never leave your device, which also makes the tool fast because nothing has to upload.

    Why did a PNG barely get smaller?

    PNG is a lossless format, so re-saving it as PNG cannot throw detail away. For big savings convert PNG photos to JPG or WebP, or reduce the maximum width. If a file would get bigger, the tool keeps your original instead.

    Can I compress an image to a specific size, like 20 KB?

    Yes. Choose Target file size and enter the limit from your form or website. Each image is saved at the highest quality that fits, and made smaller in pixels only when quality alone is not enough. PNG files are saved as JPG, because PNG cannot be squeezed to a set size.

    What quality setting should I use?

    For photos on websites and email, 70–85% is a good balance — most people cannot see a difference from the original. Use 90%+ for images that will be printed or edited again.

    Does compression remove photo metadata?

    Yes. Re-encoding through the browser drops EXIF data such as camera details and GPS location, which is usually a privacy bonus when sharing photos.

    Is there a size limit?

    Each image can be up to 50 MB and 50 megapixels. Very large batches are processed one after another so your browser stays responsive.

    Compress images without losing visible quality

    Large photos slow down websites, fill up inboxes and hit upload limits. This image compressor re-encodes your JPG, PNG and WebP files at a quality you choose, removing detail your eyes are unlikely to notice so the file becomes much smaller.

    Because everything happens in your browser, even a batch of holiday photos or product shots is processed privately and quickly — there is no upload queue to wait for.

    Compress to an exact file size

    Upload forms often set a hard limit, such as 20 KB for a photo or 100 KB for a document. Choose Target file size, enter the limit and the compressor finds the highest quality that fits, shrinking the picture only when it has to. It aims for 1 KB = 1,000 bytes, the stricter way forms count, so the file is accepted either way.

    Lossy vs lossless compression

    JPG and WebP use lossy compression: they discard fine detail to save space, controlled by the quality slider. PNG is lossless, so re-saving a PNG as PNG keeps every pixel and rarely saves much. For the biggest savings on photos, choose JPG or WebP as the output format.

    Tips for the smallest files

    • Resize before you compress — a 4000-pixel-wide photo shown at 1200 pixels wastes most of its bytes.
    • Use WebP for websites: it is typically 25–35% smaller than JPG at the same quality.
    • Keep screenshots and logos as PNG, or they may look blurry around text.
    • Always keep your originals; compression cannot be undone.

    Privacy bonus: metadata is removed

    Photos from phones often contain EXIF metadata such as the camera model, date and GPS location. Compressed images created here do not include that metadata, which makes them safer to share publicly.

    Keyboard shortcuts

    /
    Search all tools
    ?
    Show this help
    Esc
    Close search or dialogs
    Ctrl + Enter
    Run the tool's main action (Format, Generate, Calculate…)
    Ctrl + K
    Clear the tool's input

    Tool shortcuts work while you're using a tool, including inside its text boxes.