Compress images
Shrink photos, screenshots and graphics without changing their format: a JPG stays a JPG and a PNG stays a PNG. Choose how hard to compress, compare the sizes before and after, and download. Everything runs on your device.
Converted on your device. Nothing is uploaded.
How to compress an image
- Add your imagesDrop them on the box above, click to choose them, or paste an image from the clipboard. You can add many at once.
- Check the settingsLeave Convert to on Same as original. For JPG and WebP files, lower the quality to somewhere between 75% and 85%; for PNG files, choose 256 colours, or fewer for simple graphics. Each result shows its size before and after, and changing a setting updates the results.
- DownloadSave each image with its Download button, or all of them at once with Download all (ZIP).
How image compression works here
Photos are usually saved as JPG or WebP, which are lossy: the encoder throws away fine detail that is hard to see, and the quality setting decides how much. Lowering it from the 90s to the high 70s often makes a file much smaller while the picture looks the same at normal viewing size. Below about 60%, blockiness and smeared edges start to show, first around text and sharp lines.
PNG is lossless, so there is no quality slider. Instead this page can reduce the image to a palette of at most 256 colours, which is how most “PNG compressors” work. Screenshots, logos, charts and icons usually look unchanged with a palette and get much smaller; detailed photos are better off as JPG or WebP. See Compress PNG for the details.
Compression also has a ceiling set by the pixel count. A 4,000-pixel-wide photo shown in a 1,000-pixel space carries sixteen times the pixels anyone will see, and no quality setting removes that overhead. If the files are still too big, open Resize and make the images smaller, or use Resize image directly.
Questions and answers
Will my images change format?
Not with Same as original selected: JPG files come back as JPG, PNG as PNG and WebP as WebP. You can still choose a specific output format in the menu if you want every file converted to one type.
How much smaller will my files get?
It depends on the picture and how it was saved before. A large photo straight from a phone or camera usually shrinks a lot; an image that was already compressed for the web may barely change. Each result shows its size before and after, so you can try a setting and compare.
Why did one of my files get bigger?
If an image was already saved at a lower quality, or as a palette PNG, saving it again at a higher setting can add bytes without adding detail. Lower the quality or the colour count, or simply keep the original for that file.
Is the camera information in my photos kept?
No. The images are re-encoded from their pixels, so metadata such as the camera model, the date taken and GPS location is not copied into the compressed files.
Are my images uploaded anywhere?
No. The page decodes and re-encodes each image with your own browser’s canvas. Nothing is sent to a server; once the page has loaded you can even go offline and it keeps working.
More converters
- WebP to PNG
- WebP to JPG
- AVIF to PNG
- AVIF to JPG
- AVIF to WebP
- HEIC to JPG
- HEIC to PNG
- HEIC to PDF
- HEIC to WebP
- TIFF to JPG
- TIFF to PNG
- TIFF to PDF
- JPG to TIFF
- PNG to TIFF
- WebP to TIFF
- HEIC to TIFF
- PDF to JPG
- PDF to PNG
- PDF to TIFF
- Camera RAW to JPG
- CR2 to JPG
- CR3 to JPG
- NEF to JPG
- PSD to PNG
- PSD to JPG
- PNG to WebP
- JPG to WebP
- PNG to JPG
- JPG to PNG
- SVG to PNG
- GIF to PNG
- SVG to JPG
- GIF to JPG
- PNG to GIF
- JPG to GIF
- WebP to GIF
- BMP to PNG
- BMP to JPG
- ICO to PNG
- JPG to PDF
- PNG to PDF
- WebP to PDF
- Image to PDF
- PNG to SVG
- JPG to SVG
- Image to SVG (vectorize)
- PNG to ICO
- Favicon generator
- JPG to ICO
- SVG to ICO
- WebP to ICO
- JFIF to JPG
- JFIF to PNG
- Compress image
- Compress JPG
- Compress PNG
- Resize image
- Compress to 100 KB
- Compress to 50 KB
- Compress to 20 KB
- Any image to any format
Guides
- How to save a WebP image as PNG or JPG
- Why do images save as WebP, and how do I get a JPG?
- Looking for a replacement after Save Image as Type was removed?
- How to open or convert HEIC photos on Windows
- How to download all images from a web page
- How to combine images into one multi-page TIFF, and split one