How to use the Compress JPEG tool
- Choose or drop a JPEG photo onto the page.
- Drag the JPEG quality slider to trade file size against detail.
- Compare the before and after sizes.
- Download the compressed JPEG.
To compress a JPEG, open the Compress JPEG tool on Archive.London, choose your photo and drag the quality slider down until the after size is small enough. Compare it with the before size, check the picture still looks clean, then download. The file is processed in your browser and never uploaded.
How far can the JPEG quality slider go?
JPEG divides a picture into 8 by 8 pixel blocks and stores each block more or less coarsely depending on the quality setting. That is why over-compressed photographs show a faint grid in smooth areas and a shimmer of noise around sharp edges and lettering.
For most photographs a setting somewhere between 75 and 85 gives a much smaller file with no change you would notice at normal viewing size. Detailed, grainy images need more data than soft ones, so two photographs at the same setting can differ widely in size. The top of the scale is not lossless: even maximum quality rounds values away. Use the before and after sizes to find the point where further savings stop being worth it.
Why re-saving a JPEG keeps costing detail
JPEG is a lossy format with 8 bits per colour channel and no transparency. Each time a JPEG is decoded and encoded again, the rounding happens afresh, so errors accumulate. The effect is known as generation loss, and it is the reason a photograph that has passed through several apps and messaging services looks tired.
This tool works the same way as any other encoder: it decodes your file in the browser, then writes a new JPEG at the quality you choose. Two practical rules follow. Compress once, from the best version you have. And keep that original, because the browser's re-encoding does not carry over EXIF, IPTC or XMP metadata or an embedded colour profile; output is 8-bit sRGB.
Where JPEG belongs in a scanning workflow
In digitisation projects the JPEG is normally the derivative, not the master. Film is scanned to an uncompressed or losslessly compressed TIFF, often at 16 bits per channel, and that file is preserved. JPEGs are then made from it for cataloguing screens, client previews and web pages, where a file a fraction of the size is good enough.
Seen that way, compressing a JPEG is safe as long as something better sits behind it. For the analogue holdings of the Robert Harper Photograph Library, mostly medium-format colour transparencies that largely await scanning, this is the workflow that applies; the digitisation partners page describes what the archive is looking for.
Frequently asked questions
What JPEG quality should I use for the web?
A setting between about 75 and 85 suits most photographs on web pages: files are far smaller than at maximum quality and the difference is hard to see. Go higher for images with fine texture that will be viewed large, and lower for thumbnails. Judge by eye and by the after size rather than by the number alone.
Is it safe to compress private photos here?
Yes. The photo is read and re-encoded by your own browser, so it does not leave your device. There is no upload, no server-side copy and no account. You can confirm this by loading the page, switching off your internet connection and compressing a file; the tool continues to work offline.
Why did my JPEG get bigger after compressing?
If the original was saved at a low quality and you choose a higher setting, the new file has to describe the old compression artefacts in more detail, so it grows without looking any better. Move the slider below the original's level and check the after size. Re-encoding can never restore detail that was already discarded.
Can I compress a JPEG without losing any quality?
Not with a quality slider. Any tool that decodes and re-encodes a JPEG loses a little information, and this one is no exception. The practical aim is loss you cannot see. If you need the pixels to stay exactly as they are, leave the file alone or store it in a lossless format such as PNG, which will be larger.
Does the compressed JPEG keep EXIF, GPS and copyright data?
No. Re-encoding in the browser produces a clean file without EXIF, GPS, IPTC or XMP metadata and without the original colour profile. That is convenient if you wanted location data gone, but it also removes captions and copyright notices. Keep the original file if that information needs to survive.
