A JPG photo straight from a phone can weigh several megabytes, far more than a web page, an email or an upload form wants to carry. The obvious fix is to compress it, but a JPG is not like a PNG: it has already thrown detail away once to reach its current size. Compressing it again means asking the encoder to throw away a little more, and the skill is knowing how much more a particular photo can stand.
That is a judgement call, not a number you can look up. This guide explains what a second round of JPG compression actually does, which photos tolerate it and which show damage early, and how to do it with the free Image Compressor on Ovatly, which shows you the before and after sizes and a live preview before you download anything.
Contents
- Quick answer
- A JPG is already compressed once
- Fine detail versus smooth areas: where artifacts show first
- How to compress a JPG, step by step
- Worked example: a phone photo at 80% quality
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To compress a JPG online: open the Image Compressor, add your photo, start with the quality slider at 80%, and read the after size and the preview. If the file is still too heavy, lower the quality a step at a time and watch the detailed areas of the preview, because that is where damage appears first. Stop at the highest quality that gives you a file small enough for the job. The dimensions do not change, only the file size, and there is no target-size box to type into: the slider plus the readout is the method.
A JPG is already compressed once
JPEG is a lossy format. When a camera or an editor saves a JPG, the encoder discards some of the fine information in the picture and stores an approximation. That first save is why a photo that would be tens of megabytes as raw pixels arrives as a 3 MB file.
Re-encoding that JPG at a lower quality applies the same trick a second time, on a picture that has already been approximated once. Each round costs a little more detail. One careful extra round at a sensible quality is normally invisible at normal viewing sizes. Several careless rounds, or one round at a very low quality, are not: edges start to halo, smooth skies break into blocks, and fine texture turns muddy.
This is why compressing a JPG is a trade you make with your eyes open. The goal is never the smallest file the tool can produce. It is the smallest file that still looks like the photo you took.
Fine detail versus smooth areas: where artifacts show first
Not every photo tolerates compression equally. The encoder keeps the broad shapes and colours of a picture easily, so smooth areas, such as a plain wall, an out-of-focus background or a clear sky, survive low quality settings well. What costs information is fine, high-contrast detail: grass, hair, tree leaves, gravel, fabric weave, crowds of people. A photo full of that detail shows blocky artifacts sooner, because the encoder runs out of budget to describe it and starts approximating in visible squares.
The practical consequence: two photos of the same dimensions and the same starting size can need different quality settings. A portrait against a plain backdrop might look clean at 65%. A group shot in a garden might need 85% to keep faces and foliage believable. There is no single correct number, which is exactly why the tool shows you a live preview and the true after size for your file instead of promising a fixed saving.
How to compress a JPG, step by step
- Open the Image Compressor and tap the file box to choose your JPG, or drop the file onto it. The tool shows the size you are starting from.
- Move the quality slider to 80% first. The result updates each time you change it, with the new file size and a preview.
- Look at the preview, paying attention to the most detailed part of the photo rather than the middle of a smooth area. If it looks clean, you can try a lower setting; if artifacts are already visible, go higher.
- Keep the output format as JPEG for the widest compatibility. WebP is the alternative when the file is going on the modern web and you want it smaller still.
- Compare the before and after sizes, check the preview once more, then download the compressed image. Keep your original file stored separately, because the compression cannot be undone.
Worked example: a phone photo at 80% quality
Take a typical phone photo: 3 MB, at 4032 by 3024 pixels. Compressed at 80% quality, a photo like this usually lands in the hundreds of kilobytes as a JPEG, with no visible difference at normal viewing sizes. A file that was too heavy for a form or an inbox is now a few hundred kilobytes, and the picture on screen looks the same.
Notice what did not happen: the dimensions stayed 4032 by 3024. If the photo also needs to be smaller in pixels, for a web page slot or a profile frame, that is a separate job for the Image Resizer, done before or after compressing. And notice the limit of the example: a highly detailed photo, a night shot full of grain or a landscape dense with leaves, will compress less than a simple one, which is why the tool reports the real numbers for your file rather than a promise.
Limitations and honest tradeoffs
Compression is lossy: fine detail is traded for size, permanently. Keep your original if you may need the photo for print, where discarded detail is easier to spot. The compressor also handles one image at a time, deliberately, so each result gets checked; a batch of similar photos still moves quickly because the flow takes only a few seconds per image.
There is no target-size input. You cannot type "make this 200 KB" and have the tool hunt for the setting. The method is the slider, the live readout and your judgement about the preview, which is slower than a magic button and more honest about what is being traded. Finally, compression never changes dimensions: if the pixel size itself is the problem, resize first, then compress.
Common mistakes
- Going straight to a very low quality. Dropping to 40% in one move destroys detail you may not have needed to give up. Start at 80% and walk down.
- Judging the preview by its smooth areas. Skies and walls survive anything. Check faces, hair, text and edges, because artifacts appear there first.
- Compressing a compressed copy. Every round costs detail. Always start again from the original file, never from yesterday's compressed version.
- Expecting the same saving on every photo. Detailed photos compress less than simple graphics. The readout for your file is the only number that counts.
- Deleting the original. The trade is permanent. Keep the untouched file for print and for any future size you might need.
FAQs
Is my image uploaded for compression? No. Your browser does the compression itself using its built-in image encoder, and the image never leaves your device.
What quality setting should I use for a JPG? 80% is the sweet spot for photos on the web: much smaller files with no visible loss for most people. Drop to 60-70% for thumbnails, and stay at 90% or higher when every detail matters.
Why does one photo compress well and another barely shrink? The exact saving depends on the image. Detailed photos compress less than simple graphics, because there is more information the encoder has to keep. The tool always shows you the true before and after numbers for your file.
Does compressing a JPG change its dimensions? No. Dimensions are not changed by the compressor. Use the Image Resizer when you need different pixel sizes, and compress afterwards if the file is still heavy.
Can I compress several JPGs at once? The tool handles one image at a time so you can check each result. For batches of images with identical settings, the flow takes only a few seconds per image.
Conclusion
Compressing a JPG well is a short loop: start at 80%, read the after size, inspect the detailed areas of the preview, and stop as soon as the file is small enough. The Image Compressor keeps that loop honest by showing the real numbers for your photo and doing the work in your browser. If your file is a PNG instead, the trade works differently, and our guide to compressing a PNG image online covers it. For more guides in this series, see our Image Tools guides.
References
- web.dev (Google), on why image weight dominates page weight and how to reduce it: https://web.dev/articles/serve-responsive-images
- MDN Web Docs, on image file types and the formats browsers support: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types