Compress JPG, PNG and WebP images in your browser and compare the before and after sizes instantly.
Open toolCompress JPEG Images
Reduce the file size of JPG and JPEG photos with a quality slider and instant before/after comparison.
Loading tool…
How to use Compress JPEG
- Upload one or more JPG/JPEG files.
- Set the quality — 80 is a good starting point.
- Optionally resize the image to cut size further.
- Download individual files or the whole batch as a ZIP.
About this tool
Compress JPEG reduces the size of JPG photos using the standard lossy JPEG encoder built into your browser. A single quality slider maps directly to how much detail is kept, and the before/after view makes the trade-off obvious.
Recommended settings
- Compress from your highest-quality original, not an already-compressed copy.
- For screenshots or text, WebP or PNG usually look cleaner than JPEG.
Supported formats
Input: JPEG. Output: JPEG.
Quality & file size
Lossy formats (JPEG, WebP, AVIF) trade detail for smaller files as you lower the quality; PNG stays lossless regardless of the slider. The tool always shows the original and result sizes so you can judge the trade-off, and it never recommends a result that is larger than your original as an “optimisation”.
Privacy
Every image is decoded, transformed and re-encoded entirely in your browser using the Canvas API and a Web Worker. Files are never uploaded, are not stored in localStorage, and are cleared from memory when you remove them or close the page.
Common issues & limitations
- JPEG is lossy; repeated re-compression gradually softens detail.
- JPEG cannot store transparency.
- All processing happens on your device; nothing is uploaded, so very large batches are limited by your available memory.
Frequently asked questions
What does the JPEG quality value mean?
JPEG quality (0–100) controls how aggressively detail is discarded. 80 is a good default for photos; below about 60 you start to see blocky artefacts.
Does re-compressing a JPEG lose quality?
Yes. JPEG is lossy, so each save discards a little more detail. Compress from the highest-quality original you have rather than an already-compressed copy.
When should I not use JPEG?
For text, logos and sharp-edged graphics, PNG or WebP usually look better and can be smaller. JPEG shines on photographs.
Are my images uploaded to a server?
No. Every image is decoded, processed and encoded entirely inside your browser using the Canvas API. The files never leave your device and are discarded when you close the page.