Compress JPEG photos with the mozjpeg encoder

Phone photos of 4 to 8 MB are rarely needed at that size. This tool re-encodes JPG files with mozjpeg, the encoder tuned for smaller output at the same look, and shows the saving per file.

Drop images here

JPG, PNG, WebP or AVIF, up to 20 files, 60 MB each

Mode

    Your files never leave this device. Everything is processed in the browser, nothing is uploaded.

    What mozjpeg changes

    A JPG is a lossy format: each save throws away detail you cannot see well. mozjpeg uses progressive scans and better quantization tables, so at the same quality number it usually produces a file noticeably smaller than the one a camera or a basic editor writes.

    Transparent pixels do not exist in JPG. If you feed in a PNG or WebP with transparency and choose JPG output, the transparent areas become white.

    Quality values that work

    Use 75 for web pages and blog posts, 85 for portfolios and product photos, 60 for thumbnails and email. Going below 50 shows blocky edges around text and sharp contrast. Re-compressing an already compressed JPG again and again adds artifacts, so keep your originals.

    Questions

    JPG or JPEG, which one do I get?

    They are the same format. Files are saved with the .jpg extension.

    Will EXIF data such as GPS stay in the file?

    No. The picture is decoded and written again without metadata, which also removes the location from phone photos. The orientation is applied to the pixels, so photos do not turn sideways.

    Can I compress a PNG into a JPG here?

    Yes. Add the PNG and choose JPG in the Convert mode, or open the PNG to JPG page.

    How much smaller will my photo get?

    At quality 75 a typical camera JPG shrinks by 50 to 80 percent. The exact saving is shown per file.

    Related tools