How do you reduce the size of a JPEG file?
A JPEG becomes smaller when it is re-encoded with a lower quality setting and a more efficient encoder. This tool uses MozJPEG, an improved JPEG encoder that makes files about 10–15% smaller than standard encoders at the same visual quality, thanks to trellis quantization, progressive scans and optimized Huffman tables. Choose a quality between 10 and 100 (75 is a good default), optionally limit the dimensions, and compress many photos at once. Everything runs in your browser.
How to compress a JPEG
- 1
Add your JPG or JPEG photos (other formats are converted to JPG).
- 2
Compression starts automatically at quality 75%.
- 3
Lower the quality for smaller files or raise it for more detail, then click “Compress again”.
- 4
Download the compressed JPGs one by one or as a ZIP.
Key features
MozJPEG encoder
Trellis quantization and progressive scans give smaller JPGs than a phone camera or a standard encoder at the same quality.
Resize while compressing
Limit the width and height, for example to 1920 px, to reduce the file size even more.
Correct orientation
EXIF rotation is applied to the pixels, so photos from phones never end up sideways.
No upload
Your photos stay on your device, which makes it suitable for personal and confidential images.
Frequently asked questions
What JPEG quality should I use?
Quality 70–80 is the best balance for photos on websites and in messages. Use 85–90 for prints or images you will edit again, and 50–60 when the smallest file matters most.
Why is my compressed JPG not much smaller?
The photo was probably already saved at a low quality. Re-encoding cannot recover lost detail, and Toolavix keeps the original when the new file would be bigger. Reducing the dimensions is the most effective way to shrink such files.
Is JPG the same as JPEG?
Yes. JPG and JPEG are the same format; the three-letter .jpg extension comes from old versions of Windows that only allowed three-character extensions.
Can I compress a JPEG without losing quality?
JPEG is a lossy format, so re-encoding always discards some information. At quality 90 or higher the change is practically invisible, but the savings are smaller.
Are EXIF data and the GPS location kept?
No. The compressed JPG contains no EXIF metadata, which also removes the GPS location of photos taken with a phone.