Compress JPG
MozJPEG with a live before/after slider. Drop a JPG to start.
Other compression tasks
Compress JPG images
Compress JPG and JPEG photos with MozJPEG, the same high-efficiency encoder Squoosh uses. Drag the before/after slider to find the sweet spot where the file is small but the photo still looks right, or set a target file size and let the tool pick the quality for you. 100% in your browser - your images never leave your device.
Frequently Asked Questions
MozJPEG quality 75 is a good default for photos - visibly indistinguishable from the original for most images while roughly halving the size. Drop toward 60 for web thumbnails where size matters more, and use the before/after slider to see exactly where artefacts start to show on your image.
Yes. MozJPEG is Mozilla's optimising JPEG encoder - the same one Squoosh uses - and produces meaningfully smaller files than a standard JPEG export at the same visual quality, thanks to trellis quantisation and progressive optimisation. The output is still a standard .jpg that opens everywhere.
Yes. Switch the target from Quality to Target kB and enter your budget; the tool searches the JPEG quality that fits under that size for each image, and tells you honestly if a photo cannot reach it without wrecking the quality.
No. Decoding, resizing, compression and ZIP packaging all run inside your browser using WebAssembly codecs. Your images never leave your device and nothing is sent to a server, so it works offline and is safe for private photos.
Yes. Drop multiple files, a folder or a ZIP. Each image keeps its own settings (a new one inherits whatever you last used); to apply the current settings to several at once, select them and use "Apply current settings". Download them individually or as one ZIP.
From the blog
How to Compress an Image to an Exact File Size
Need your photo under 100KB for an upload form? Learn how binary-search compression helps you hit exact file size limits without ruining your image.
Read →image-compressionHow to Compress Images for the Web Without Uploading Them
Learn how modern browser technology lets you compress images securely on your device, without sending private files to a cloud server.
Read →image-compressionWebP vs AVIF vs JPEG vs PNG: Which Format Gives the Smallest File Size?
Stop guessing which image format to use. We break down when to use WebP, AVIF, JPEG, or PNG for the best balance of quality and file size.
Read →