Compress JPG
Make JPG files smaller in your browser.
Make images or PDFs smaller.
- JPG · PNG · WebP · Text · Word
- Word
- PDF · Text
This is free and always will be. Buy me a coffee
Your files are processed by your own browser and never sent to a server.
What compressing JPG actually does
A JPG is already compressed, so making it smaller means re-encoding it at a lower quality setting. The encoder throws away more of the fine detail your eye is worst at noticing, and the file shrinks roughly in proportion.
What a real JPG gives up
A 4 MB photograph off a phone lands somewhere near 700 KB at the default 80% quality, and you will not see the difference on a screen. A 12 megapixel image from a real camera behaves the same way proportionally. Where it goes wrong is a JPG that has already been squeezed once: a 300 KB file that somebody exported for a website is close to the floor already, and pushing it further buys you 60 KB and visible blocking around every edge. Check the size before you start, and if the file is already small for its dimensions, leave it alone.
Compressing a file that was already compressed
Each pass compounds. A JPG saved at 80% twice is not the same as one saved at 80% once, because the second pass compresses the artefacts of the first. Always compress from the original, never from a copy you already compressed.
More on what compression actually throws away.
Questions about compressing JPG
What does 80% quality actually mean?
Not 80% of the detail, and not 80% of the size. It is a number that scales the quantisation tables the encoder uses to decide how much of each block of the image to round off, and the relationship to file size is steep and non-linear. Going from 100 to 90 typically halves the file and changes nothing you can see; going from 50 to 40 saves very little and looks noticeably worse. The useful range is 75 to 90, which is why the slider starts inside it.
Why does compressing twice make it worse?
Because the second pass compresses the first pass's mistakes. A JPG encoder works in eight-by-eight blocks and rounds off detail within each one; save that result again and it rounds off the rounding, and the block boundaries it introduced last time are now edges it tries to preserve. The damage accumulates in a way that is invisible for one or two passes and obvious by the fifth. Always compress from the original file, never from a copy you already compressed.
My JPG is a screenshot. Should I still use JPG?
No. JPG puts its errors where contrast is highest, and a screenshot is nothing but high contrast: black text on white, window borders, table rules. You get a faint grey halo around every letter and a file that is often larger than the equivalent PNG or WebP would be. Switch the output format to WebP and you will usually get a smaller file that is also pixel-exact. This is the single most common way people make a file worse while trying to make it smaller.
Does removing the metadata make a JPG smaller?
Barely, and it is the wrong reason to do it. An Exif block with a location, a camera model and a timestamp is a few kilobytes against a photograph of several thousand, so stripping it is a rounding error on the size. It is worth doing for what it removes rather than what it saves, and Clean does it without re-encoding the picture at all - which compressing cannot claim, since it redraws every pixel on the way through.
With a limit to hit
A JPG is the format most forms ask for, so this is where a number usually arrives from. The tool searches the quality range for the highest setting that clears the limit, and only reduces the pixel count when the whole range overshoots - so a budget you clear comfortably costs you almost nothing:
- JPG under 50 KB
- JPG under 100 KB
- any image under 200 KB
- any image under 500 KB
- any image under 1 MB
- any image under 2 MB
Compress something else
The same tool compresses PNG, WebP and PDF. With no format in mind, fit any image under a size.