Still a Standard JPG Google jpegli Never Saved to Disk

Compress JPEG with jpegli

Drop JPEG photos here and get smaller JPEGs back, re-encoded at quality 85 with Google's jpegli encoder. The output is still a standard .jpg, so it works in every app, marketplace and upload form that took the original. Up to 3 files a month with no signup and 20MB per file, or 25 a month with a free account. Files are processed in memory at api.mochify.app and wiped the moment your download is ready.

How to compress a JPEG with jpegli

1

Drop your JPEGs

Drag up to 3 files onto the box, or click it to choose them. No account is needed for your first files.

2

Keep or strip the metadata

A Strip EXIF switch appears once your files are in. It is on by default, which removes GPS and camera data; turn it off to keep them. There is nothing else to set.

3

Download

Each JPEG comes back in seconds. More than one file arrives as a single zip.

Smaller JPEGs without changing format

Plenty of places only take JPEG: eBay and Etsy listings, older content management systems, print portals, job and government forms. Switching to WebP or AVIF is not an option there, so the only way to a smaller file is a better JPEG encoder. Jpegli is that encoder. It applies adaptive quantization from JPEG XL to put bits where they show, and writes a file fully compliant with the JPEG standard.

Mochify outputs standard JPEG files, encoded with Google's jpegli library for better efficiency at high quality settings, so you get the same interoperable JPEG format with fewer wasted bytes. Nobody downstream needs new software, and nothing about how the file is opened, uploaded or printed changes.

When recompressing helps, and when it does not

The biggest savings come from JPEGs saved at high quality: straight out of a camera or phone, or exported from Lightroom or Photoshop at 90 and above. Those files carry bytes that a quality-85 jpegli encode can drop without a visible change. A JPEG that was already heavily compressed has little left to give, and may come back about the same size or slightly larger; keep the original when that happens.

Recompressing is a new lossy encode, so run each photo through once rather than repeatedly, and keep your originals if you might edit them later. Our jpegli vs MozJPEG guide covers the numbers and the trade-offs, and jpegli for Shopify product images applies them to a store.

Frequently asked questions

Is this JPEG compressor free?

Yes. Compress up to 3 files a month with no signup, or 25 a month with a free account, at up to 20MB per file. For bigger jobs, a $2 Day Pass covers 100 uploads in 24 hours, and Seller and Pro plans batch 25 files at a time.

What is jpegli?

Jpegli is a JPEG encoder from Google, released in 2024. It borrows adaptive quantization from JPEG XL to spend bits where your eye notices them, and writes an ordinary JPEG. It is a better way of making a .jpg, not a new format. Our guide Jpegli vs MozJPEG compares it with the other common encoders.

Will the compressed JPG open everywhere?

Yes. Jpegli output is standard JPEG, so it opens in every browser, phone gallery, photo editor, email client and upload form that already takes a .jpg. Nobody on the other end needs to install or update anything.

How much smaller will my files get?

It depends on the photo and on how it was saved. In Google's rater study at high quality, jpegli used about 20% fewer bits than MozJPEG and 26% fewer than libjpeg-turbo for files raters slightly preferred. The biggest savings come from JPEGs exported at high quality straight from a camera, phone or editor. Removing metadata saves a little more on top.

Can a JPEG come back larger?

Occasionally. A JPEG that was already saved at a low quality has little left to remove, and a fresh encode at quality 85 can land at about the same size or slightly above it. When that happens, keep your original. If you switch Strip EXIF off, the original bytes are returned whenever the new encode is no smaller.

Does compressing a JPEG again lose quality?

Every JPEG encode is lossy, so this is a new generation of the photo. At quality 85 with jpegli the difference is not visible on screen for typical photos, but avoid running the same file through repeatedly, and keep the original if you might need to edit it later.

What happens to the EXIF data and GPS location?

Metadata is stripped by default, GPS included, which also trims a few kilobytes. Once your files are in, a Strip EXIF switch appears; turn it off to keep camera settings, dates and location.

What happens to my files?

They travel over HTTPS to api.mochify.app, are compressed in memory and wiped as soon as your download is ready. Nothing is written to disk and no logs contain your image data.

jpegli, MozJPEG or libjpeg-turbo?

EncoderQuality per byteOpens inBest for
jpegli (this page)About 20% fewer bits than MozJPEG and 26% fewer than libjpeg-turbo at high qualityUniversalPhotos that must stay JPEG, high-quality exports
MozJPEGBetter than libjpeg-turbo, close to jpegli at medium qualityUniversalGeneral web delivery, most optimization plugins
libjpeg-turboThe baselineUniversalSpeed above all, the default in most software

Figures from Google's rater study at high quality on photographs. At medium quality the encoders are close and MozJPEG wins on some images.

Bulk, batch and automated JPEG compression

Seller and Pro accounts compress up to 25 files per batch at up to 75MB each, and a Day Pass gives you 100 uploads in 24 hours for $2 with no account. The same encode runs from the terminal with the Mochify CLI (mochify, sign in once with mochify auth login), from an AI agent through the hosted or local MCP server, and from the REST API:

curl -X POST "https://api.mochify.app/v1/squish?type=jpg&quality=85" \
  -H "Authorization: Bearer $MOCHIFY_KEY" \
  --data-binary @photo.jpg \
  -o photo-small.jpg

Every route encodes at api.mochify.app in memory and keeps nothing. Full parameter reference in the API documentation. Need the file under a size limit rather than at a quality? Add &targetBytes= with a ceiling in bytes and the API measures its way under it.

Also available