An image compressor writes the same picture into a smaller file. A JPG or a WebP is encoded again at the quality you choose: the encoder leaves out detail the eye notices least, such as fine texture in grass or in a wall. A PNG stores every pixel exactly, so it is made smaller another way: its colors are reduced to a palette of at most 256.
This page keeps each image in its format: a JPG comes back as a JPG, a PNG as a PNG and a WebP as a WebP, at its size in pixels unless you choose a smaller Size. JPGs are compressed with MozJPEG, an encoder made by Mozilla to make smaller JPGs that every app can open, and WebPs with Google's libwebp, both running in your browser. MozJPEG is based in part on the work of the Independent JPEG Group.
Drop the image on this page or press Choose images. A JPG or a WebP is compressed at once at quality 75, a PNG with 256 colors, and the list shows each image's old size, its new size and how much smaller it got. Press its thumbnail to compare it with the original, then press Download.
For a smaller file, choose 60 or 40 under Quality, or 75% or 50% under Size; for a PNG, choose fewer colors. Every change compresses again the images it applies to, so what you see is what you download.
Quality runs from 0 to 100; the page offers 90, 75, 60 and 40, and starts at 75, MozJPEG's own default. At 75 our three JPG photos became 27% to 93% smaller, and at 40 they became 67% to 97% smaller. At 90 a photo keeps fine detail and its colors at full resolution, but a photo that was compressed well before can come out larger: our 10-megapixel camera photo went from 718 KB to 735 KB.
To check, press a thumbnail and choose Actual pixels: the original and the compressed image are shown pixel for pixel, side by side, and scroll together. Faces, skin and small text show the change first.
At 75% an image keeps a little over half of its pixels, and at 50% a quarter, which saves more than any quality: at 50% size and quality 75 our three JPG photos became 79% to 98% smaller. Each new pixel is the average of the pixels it replaces, so edges stay smooth.
A photo is often far larger in pixels than where it is shown. At 50%, our 3,888 × 2,592 camera photo is 1,944 × 1,296, still wider than a full HD screen. Size applies to JPG and WebP images; a PNG keeps its size in pixels.
Compressing does not undo earlier compression. A photo that was saved at a good quality and is compressed again at a high one is encoded with more bits than it needs, for detail that is no longer there. The page then says Not smaller and offers the original for download.
A lower quality or a smaller size gets such a file smaller. A PNG compressed before, by this page or by another tool, gets very little smaller at 256 colors: our screenshot lost less than 1% the second time. Fewer colors then help.
Phones and cameras often store a photo sideways, with a tag that tells apps to turn it. The compressor turns the picture itself, so the new JPG stands upright in every app. The color profile of each image goes into the new file, so the colors look the same, and a transparent PNG or WebP stays transparent.
Photos also carry camera data (EXIF): the camera, the date and often the place where the photo was taken. The new files leave it out, along with other metadata such as XMP.
JPG, PNG and WebP images, up to 20 at a time, each up to 50 MB and 50 million pixels. An animated PNG keeps its frames; an animated WebP is left as it is, as the compressor would keep only its first frame. A JPG in CMYK, the colors of print, can't be read.
A GIF goes to the GIF compressor on this site, and an iPhone photo in HEIC to the HEIC to JPG converter first: the list says so and links to them.
Open this page in Safari, press Choose images and pick photos from your library. They are compressed on the iPhone itself, and nothing is uploaded. Press Download, and Safari keeps the smaller file in the Files app, in Downloads.
For several images at once, press Download all (ZIP): the Files app unzips it when you tap it.
A photo rarely travels alone: it goes into an email, a post or a message that explains it. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the text can be said rather than typed. It is free to start.
Measured with this compressor on four images: a 10-megapixel camera photo, an iPhone photo, a camera photo saved at the highest quality, and a product photo saved as WebP. Sizes as the compressor shows them, 1 KB being 1,024 bytes.
|
| Camera photo, JPG, 3,888 × 2,592 | 718 KB | 735 KB (larger) | 525 KB (−27%) | 380 KB (−47%) | 239 KB (−67%) | 152 KB (−79%) |
|---|
| iPhone photo, JPG, 810 × 1,080 | 476 KB | 317 KB (−33%) | 161 KB (−66%) | 120 KB (−75%) | 87 KB (−82%) | 45 KB (−91%) |
|---|
| Highest-quality photo, JPG, 1,352 × 900 | 1.4 MB | 300 KB (−78%) | 103 KB (−93%) | 70 KB (−95%) | 48 KB (−97%) | 29 KB (−98%) |
|---|
| Product photo, WebP, 1,200 × 675 | 87 KB | 62 KB (−28%) | 33 KB (−62%) | 29 KB (−67%) | 23 KB (−73%) | 13 KB (−86%) |
|---|
Where a setting made a file larger, the page offers the original instead. A PNG is compressed by its colors, not by a quality: our 1,280 × 900 screenshot went from 119 KB to 43 KB at 256 colors (−64%) and to 31 KB at 32 colors (−74%).