Image Compressor

Shrink JPG, PNG and WebP images with a quality slider and optional resizing.

PDF & Image Runs in your browser
75
Output format
px
px

Resizing keeps the aspect ratio and never enlarges. Re-encoding also removes EXIF metadata such as camera details and GPS location.

Images
    Compressed

    Nothing compressed yet

    Add images on the left. Each one is compressed right away, and you can fine-tune the quality with the slider.

    Runs entirely in your browser. Your data isn't uploaded — this page makes no network request with anything you type or upload, which you can verify in your browser's network tab. How this works.

    What is the Image Compressor?

    An image compressor makes photos and graphics smaller in file size so they upload faster, fit under form limits (the 100 KB or 200 KB caps on many exam, visa and job portals), load quicker on a website and take less space in email. Drop in JPG, PNG or WebP images, move the quality slider, and see the new size of every file — and the total saved — straight away.

    Compression happens inside your browser tab: each image is decoded, optionally scaled down to a maximum width or height, and re-encoded at the quality you choose. Nothing is uploaded, so personal photos and scanned documents stay on your device. If a re-encoded file would come out larger than the one you started with, the original is kept instead, so the tool never makes an image worse for nothing.

    How to use it

    1. Drop JPG, PNG or WebP images onto the page, or click to choose them. They are compressed as soon as they are added.
    2. Move the quality slider: lower values give smaller files, higher values keep more detail. 70–80 suits most photos.
    3. Optionally set a maximum width or height in pixels to shrink large photos — the aspect ratio is kept and images are never enlarged.
    4. Pick an output format if you want one: WebP is usually smallest, JPG works everywhere, PNG stays lossless.
    5. Drag across the before-and-after view to check the quality, then download one image or all of them as a ZIP.

    Example

    Three images compressed at quality 75 with the format left as it was.

    Images added
    holiday.jpg     4032 × 3024   3.1 MB
    product.webp    1600 × 1600   286 KB
    logo.png         512 × 512     18 KB
    Result
    holiday.jpg     1.1 MB   −65%
    product.webp     97 KB   −66%
    logo.png         18 KB   already optimised — kept original
    
    Saved 2.2 MB (64%)

    Features

    • Bulk compression with a per-file and total size comparison
    • Quality slider that re-compresses as you adjust it
    • Resize to a maximum width or height without distortion
    • Convert to WebP or JPG while compressing
    • Keeps the original when compression would make it bigger
    • Before-and-after split view to check quality
    • Removes EXIF metadata such as GPS location
    • Phone photos keep their correct orientation
    • No upload, no watermark, no sign-up

    Frequently asked questions

    Are my images uploaded to a server?
    No. The images are read from your device and compressed by your own browser using its built-in image encoder. You can disconnect from the internet after the page loads and the tool keeps working.
    What quality setting should I use?
    For photos, 70 to 80 usually cuts the file size by more than half with no difference you would notice on screen. Go lower when you must meet a strict size limit, and use the before-and-after view to check faces, skies and text, which show compression first.
    How do I get an image under 100 KB or 200 KB?
    Lower the quality first, then set a maximum width (1200 pixels is plenty for most upload forms). Resizing has the biggest effect: halving the width and height leaves a quarter of the pixels. The new size of each file is shown as soon as you change a setting.
    Why did my PNG hardly get smaller?
    PNG is a lossless format, and a browser can only save it losslessly, so the quality slider has no effect on PNG output — only resizing does. If the image is a photo or screenshot without transparency, choose WebP or JPG as the output format for a far smaller file. When a re-saved PNG would be larger than the original, the original is kept and marked "already optimised".
    Does compressing remove EXIF data and location?
    Yes, for every image that is re-encoded: the new file contains only the pixels, with no camera details, date or GPS coordinates. Rotation from the EXIF data is applied first, so photos stay the right way up. Files kept as the original are returned unchanged, metadata included.
    What happens to transparent areas if I convert to JPG?
    JPG cannot store transparency, so transparent areas are filled with white. Choose WebP or PNG to keep them transparent.
    Esc

    Loading the catalog…