How to compress an image
Drop your photo onto the box above. It is saved as a JPG at quality 80, which is usually a big saving with little visible change, and the result is shown below the picture along with how much smaller it is. Move the Quality slider to trade size for sharpness.
To go further, set a smaller size under Pixels or Percent, or tick Limit the file size to aim for a number of KB.
What makes a file small
Two things matter: how many pixels the picture has and how strongly it is compressed. A 12-megapixel camera photo is far larger than any screen needs, so reducing the pixel size is the biggest saving. JPG quality comes next: 70 to 85 is a good range for photos, and the difference from 100 is hard to see while the file can be several times smaller.
PNG and WebP here are lossless, so they keep every pixel exactly. They suit screenshots, logos and graphics, but compress photos poorly compared with JPG.
Which settings to use
For email and web pages, try 1,600 pixels on the long side and quality 80. For a strict size limit, use compress to 100KB or to 200KB. To change only the dimensions, use resize image.
Questions people ask
How do I compress an image?
Drop your photo onto the tool above. It is compressed as a JPG at once. Use the Quality slider, or set a smaller size, to shrink it further.
Does compressing lower the quality?
JPG compression is lossy, but at quality 70 to 85 the difference is small for photos. Going lower makes blocks and blur visible.
What is the best quality setting?
For photos, 75 to 85 is a good balance. Use 90 or more only for pictures you will edit again.
Can I compress PNG?
This tool saves PNG and WebP losslessly, so file size drops only if you make the picture smaller. For a bigger saving, save the photo as JPG.
Is my photo uploaded to a server?
No. The resizing and compressing happen inside your browser tab, on your own device, and nothing is sent anywhere. That also makes it instant, with no upload or queue.
Is it free?
Yes. There is no limit, no watermark and no account. PhotoRiya is open source under the MIT and Apache 2.0 licenses.
More free tools
- Compress image to 100KB best quality that fitsCompress a photo to 100 KB or less with the best quality that fits.
- Resize image online by pixels or percentResize a photo by pixels or percent and save it as JPG, PNG or WebP.
- Image converter to PNG, JPG and WebPConvert TIFF, WebP, BMP, TGA, GIF, ICO, EXR and HDR pictures to PNG, JPG or WebP.