Compress JPEG photos

Shrink JPG photos for email, websites and forms. The encoder is MozJPEG, and the quality slider updates every file instantly so you can find the smallest size that still looks right.

Drop images to compressor paste from clipboard · JPG, PNG, WebP, AVIF, HEIC, SVG, GIF · batches welcome Choose images

Private: your images are processed on your device and never uploaded.

    Original
    Result
    OriginalResult

    How much does each quality level save?

    JPEG quality is a number from 1 to 100, but the file size does not change evenly as you move it. We encoded our five public-domain test photos at eight quality levels with the same MozJPEG encoder this page uses:

    QualityTotal size (5 photos)Compared with 75Average SSIM
    50112.4 KB0.58×0.849
    60134.7 KB0.69×0.863
    70168.7 KB0.87×0.877
    75 (default)195.0 KB1.00×0.888
    80275.7 KB1.41×0.904
    85341.5 KB1.75×0.916
    90602.7 KB3.09×0.946
    95856.2 KB4.39×0.966

    SSIM is a standard measure of how similar an image is to the original (1.0 means identical). The big jumps are between 75 and 80, and again between 85 and 90: going from 85 to 90 almost doubled the size. For photos on websites and in emails, 70–80 is the sweet spot. Keep 90+ for files you may print or edit later.

    Close-up of the same coffee photo saved at JPEG quality 90, 75 and 50
    The same 160×130 pixel crop of our coffee photo, shown at 2× zoom. Full-image sizes: 86.0 KB at quality 90, 32.4 KB at 75, 19.9 KB at 50.

    Re-compressing a JPG that is already compressed

    Every time a JPG is saved it loses a little more detail, and the quality number from one program doesn’t mean the same in another. If you re-compress a phone photo at 75 you will usually save a lot, because phones save at a high setting. If you re-compress a photo that a website already squeezed, you may save almost nothing. In that case the tool keeps your original so you never get a larger file.

    What the encoder does differently

    Files are saved as progressive JPEGs, which appear quickly at low detail and sharpen as they load, and Huffman tables are optimised for each image. At everyday quality settings, colour detail is stored at half resolution (4:2:0 chroma subsampling). The eye barely notices this in photos, but it can soften thin red or blue text. For screenshots with text, PNG or WebP is the better choice.

    Frequently asked questions

    What JPEG quality should I use?

    For web pages and email, 70–80. For photos you might print, 85–90. Below 60, faces and skies start to look blotchy. The table above shows how much each step costs.

    Does compressing a JPG remove the location data?

    Yes. The compressed file is re-encoded from the pixels, so EXIF data such as GPS position and camera model is not copied over. Rotation is applied to the pixels so the photo still displays the right way up.

    Is a progressive JPEG compatible with everything?

    Yes. Every browser, phone, operating system and photo app can open progressive JPEGs.

    Related tools