Skip to content
Neattrim

Compress JPG

Reduce the file size of a JPG photo by lowering its quality, then judge the result at full size. Useful for email attachments, web uploads and forms with a size cap. Open the parent tool for other settings

Runs on your device. Your file never leaves it.

Preset for this page

Format
JPG

The tool below starts with these settings. Change any of them in the tool.

Choose imagesJPG, PNG or WebP. Processed on this device.

How to

  1. Choose your source. Open the camera original rather than a copy that has already been saved as a JPG several times.
  2. Review the preset. Lower the quality in small steps and watch skin, sky gradients and text edges for blocky patches.
  3. Export and inspect. Download the smaller file, check its size against the limit you are aiming for, and view it at 100% zoom.

When to use compress jpg

JPG stores photographs by discarding detail the eye is least likely to miss, so every save at a lower quality removes a little more and none of it can be recovered. That is why people compress JPG files before attaching them to an email, uploading them to a content management system or filling in a form with a size cap. The usual trouble is overdoing it. Smooth areas such as sky, walls and skin turn into visible blocks, and thin text or logos grow fuzzy halos. Compressing a file that was already compressed makes this worse, so work from the camera original or the largest copy you have. Phone photos often weigh several megabytes mainly because of their pixel count, so if quality alone does not reach your target, a smaller image size may help more than a harsher quality setting. After exporting, open the result at full size, look at faces and any lettering, and compare the number of kilobytes with the limit you were given. If it still looks clean and is under the limit, use it; if not, step back to a higher quality instead of pushing on.

Frequently asked questions

Why does my compressed JPG look blocky in the sky?
Smooth gradients have little detail to hide the rounding that lossy compression applies, so blocks and banding show there first. Raise the quality a few steps, or start from a less processed original, until the sky looks even again.
Can I undo JPG compression and get the lost detail back?
No. Lossy compression throws detail away at the moment the file is saved, and the smaller file does not contain it. Only the original image can supply it again, which is why you should always work on a copy.
Is recompressing an already compressed JPG a bad idea?
Usually yes. Each lossy save adds fresh artefacts on top of the earlier ones, so quality drops faster than the file shrinks. If a processed copy is all you have, make one careful pass rather than several.
How do I know my compressed JPG is small enough to upload?
Look at the size shown by your file manager after download and compare it with the limit stated by the site. Sizes are sometimes counted in different units, so leave a little margin under the cap.
Will a lower JPG quality change the photo's dimensions?
Not by itself. Quality affects how much detail is stored, while width and height stay the same unless you resize separately. Check the pixel size afterwards if a form also asks for particular dimensions.

More tools

All tools