Free tool

Compress an image

Add images and the tool makes each file smaller, with MozJPEG for JPEG, WebP, or PNG with fewer colors. Set the quality yourself, or type a size such as 100 KB and the tool finds the best quality that fits. Compare the copy with the original at 100% before you download. Nothing is uploaded.

Runs on this device. Your photos are not uploaded.

Drop images here

JPEG, PNG, WebP, HEIC, AVIF or GIF. Add as many as you want. They stay on this device.

JPEG, PNG, WebP, HEIC, AVIF or GIF. Add as many as you want. They stay on this device.

Compress by
Save as

    How it works

    1. Open. Your browser opens each image and turns phone photos the right way up. For HEIC in Chrome, Edge and Firefox, the page loads an open source HEIC decoder from yorkvault.com.
    2. Compress. A background worker in your browser writes the new file. JPEG uses MozJPEG, an encoder from Mozilla that writes smaller files than a standard encoder at the same visual quality. PNG uses OxiPNG, and optionally a smaller color palette.
    3. Fit the size. With a target size, the tool tries up to 6 quality settings at each size. If the lowest quality is still too large, it makes the image smaller in pixels and tries again. It keeps the largest, best looking copy that fits.
    4. Check and save. Compare shows the same part of the original and the copy at 100%, side by side. The copy has no EXIF, XMP or IPTC data. Your original file does not change.

    File sizes change with the picture. A photo of grass or gravel holds more detail than a photo of the sky, so it needs more bytes. To change the size in pixels only, use the image resizer. To change the format only, use the image converter.

    Questions people ask

    Does this tool upload my images?

    No. Your browser opens each image and compresses it on your device. No image or file name goes to our server or to anyone else. The encoders load from yorkvault.com the first time you add an image. After that, you can turn off Wi-Fi and the tool still works.

    How do I compress an image to 100 KB?

    Choose Target size, type 100 and choose KB. Then add the images. For each one, the tool tries lower quality settings until the file fits. If even a low quality is too large, it makes the image smaller in pixels and tries again. The file is never larger than the size you set. Forms for jobs, visas and exams often set a limit between 20 KB and 240 KB.

    Does compressing an image lower its quality?

    JPEG and WebP compression removes detail that is hard to see. At 70 to 80% quality, most photos look the same at normal size, and the file is much smaller than the photo from the phone. Below about 50%, you can see blocks and smeared colors. Use Compare to check the copy at 100% before you download it.

    Which format makes the smallest file?

    For photos, WebP is smallest. Google measured WebP files at 25 to 34% smaller than JPEG files of the same quality. JPEG opens in every app and on every website. PNG is lossless, so it is right for screenshots, logos and text, but it makes large files from photos. Fewer PNG colors make a much smaller file.

    Why is my PNG only a little smaller?

    A PNG keeps every pixel, so lossless compression can only find a better way to store the same data. That saves less than lossy compression. To save more, choose 256 colors or fewer under PNG colors, which works well for screenshots and graphics. For a photo, choose JPEG or WebP.

    Does the compressed image keep the location and camera data?

    No. The copy has no EXIF, XMP or IPTC data, so it holds no location, date, camera model or serial number. That also makes the file a little smaller. To see what a photo holds before you share it, use the location and metadata remover on this site.

    Sources

    1. mozjpeg: improved JPEG encoder (Mozilla, GitHub) · checked Oct 8, 2026
    2. WebP compression study (Google for Developers) · checked Oct 8, 2026
    3. Image file type and format guide (MDN Web Docs) · checked Oct 8, 2026

    Open source code in this tool

    York Vault

    Full quality inside the vault

    York Vault keeps your photos and videos encrypted on your phone at their original quality, byte for byte, in their own format. Save space is a choice you make for each import, and it shows the saving first. Exact copies are skipped when you add them, for free.

    Download on the App StoreGet it on Google Play

    Compare

    Original
    Compressed