Best JPEG Compressor: 6 Tools, Tested

The best JPEG compressor depends on your file. TinyJPG, Squoosh, Compressor.io, JPEGmini, and ImageOptim compared on cost, limits, and privacy.

By Mike Wiberg · · 14 min read

The best JPEG compressor depends on the file in front of you. TinyJPG is fastest for a quick batch, Squoosh keeps the image on your device, Compressor.io lets you pick lossy or lossless, JPEGmini automates high volume for photographers who pay for it, and ImageOptim is the free permanent Mac option. No single tool wins every job.

Headline numbers like up to 80 percent smaller are a best case on the right file, not a promise on yours. This page puts six JPEG compressors side by side on cost, free limits, formats, and where your file actually goes, and it scores the JPG compressor built for this site with the same scrutiny it gives everyone else. For the format itself, what the quality slider changes and why re-saving a JPEG makes it worse, see JPEG explained.

How do you compare JPEG compressors?

Four things decide which tool fits a file: whether the image ever leaves your device, how much a free tier gives you before it stops you, which formats go in and out, and whether you set the compression or the tool decides for you. Any honest jpeg compressor comparison starts on those four axes, because they trade against each other. Privacy and batch size usually pull in opposite directions.

Squoosh and ImageOptim run locally, so nothing uploads and there is no real batch ceiling, but you tune each file by hand. TinyJPG, Compressor.io, JPEGmini, and this site's own compressor work by upload, giving up that local guarantee in exchange for a browser tab with nothing to install and, in most cases, a batch mode. Free-tier caps are where the upload tools actually separate, and they are the numbers most roundups skip. The formats axis separates them too: some tools only shrink a JPEG and hand back a JPEG, while others convert on the way out, so if you want a smaller WebP or AVIF instead of a smaller JPEG, that narrows the field before privacy or price even enter the decision.

The best JPEG compressor for each job, at a glance

There is no universal winner, so the useful question is which tool wins which job. The table below puts all six against the four axes that matter, with cost and the free limit doing most of the talking.

Tool Platform Cost Free limit Formats
TinyJPG / TinyPNG Web, upload Free (paid API) 20 images, 5 MB each JPG, PNG, WebP, AVIF, JPEG XL
Squoosh Web, runs locally Free No cap, one file at a time Many formats
Compressor.io Web, upload Free 10 MB per file JPEG, PNG, SVG, GIF, WebP
JPEGmini Desktop app, plugins Paid from $59; trial 50 images a day after trial JPEG to JPEG, HEIC to JPEG
ImageOptim Mac app Free, open source Local, no cap JPEG, PNG, GIF
This site Web, upload Free; Pro $12/mo 30 images, 25 MB each JPG, PNG, WebP, AVIF

The best online JPEG compressor, by category

If you want the shortest answer, sort the online tools by the thing you are protecting. For the best online JPEG compressor when the priority is a quick no-signup batch, TinyJPG or this site's tool both fit. When privacy is the priority, Squoosh is the only browser option here that never uploads. When you need to choose lossy or lossless per file, Compressor.io is the one that hands you that switch. Desktop and Mac-only options sit outside the "online" category on purpose, and they win different jobs below.

TinyJPG and TinyPNG: fastest for a quick batch

TinyJPG earns its reputation by staying out of the way. Drop up to 20 JPEGs in at once, get smaller ones back, no settings to touch. It uses smart lossy compression and claims up to 80 percent smaller, reads WebP, AVIF, and JPEG XL, and quietly converts HEIC input to JPG on the way in (TinyPNG). The free tier stops at 20 images and 5 MB each, which is plenty for a blog post's photos and too small for a real product shoot. If you just want the best JPG compressor for everyday web images and do not care about local processing, this is the default most people reach for first.

Squoosh: the only one that never uploads your image

Squoosh is the real privacy answer among these six, because the image never leaves your browser tab. It is maintained by GoogleChromeLabs, compresses entirely on your device, and supports many formats with adjustable settings you control by hand (Squoosh). That local processing is also the tradeoff: there is no batch mode and no auto-pilot, so you drag one file in and tune the quality yourself. Fine for a handful of sensitive images, tedious for two hundred of them.

Compressor.io: lossy, lossless, or your own blend

Compressor.io hands you the wheel instead of deciding for you. It offers lossy, lossless, or a custom blend of both, on JPEG, PNG, SVG, GIF, and WebP files up to 10 MB each (Compressor.io). That control matters when a lossless pass genuinely matters for one file and a lossy pass is fine for the next ninety. The 10 MB ceiling is the one real limit, tighter than this site's 25 MB free cap but looser than TinyJPG's 5 MB.

JPEGmini: paid automation for photographers

JPEGmini is built for someone who runs thousands of JPEGs a month and never wants to touch a setting. It claims up to 5 times smaller, or 80 percent, while holding full resolution and what it calls perceptual quality (JPEGmini Technology). Paid tiers start at $59 for Pro, climb to $89 with the Lightroom, Photoshop, and Capture One plugins, and run $129 to $149 for the Complete Bundle. The free trial caps at 50 images a day once it ends, which is a real bottleneck at professional volume. It earns its price mainly for photographers running steady monthly throughput.

ImageOptim: free and permanent on a Mac

ImageOptim is the free option when the file should never touch a server. It is open source, Mac only, and it strips EXIF, embedded thumbnails, and comments in the same pass that shrinks the image (ImageOptim). There is no batch limit worth mentioning and no cost, ever, which makes it the natural default for a Mac user who compresses occasionally. The catch is the platform: no Mac, no ImageOptim, and there is no web fallback.

Where does our own compressor fit?

Closer to TinyJPG and Compressor.io than to Squoosh, because this is a web upload and not a local tool. Squoosh's "never leaves your device" claim is a real privacy edge we do not structurally match, and it would be dishonest to pretend otherwise. What we do instead is delete fast and lock the file down while it is here: originals are gone within one hour on a sweep that runs every 15 minutes, there is no public bucket, and the only way to reach a file before deletion is a signed link that expires in 15 minutes.

Where the free tier pulls ahead of the other upload tools is room. No signup gets you 25 MB an image and 30 images a batch, and compression publishes its measured numbers rather than hiding behind a brand. Quality 80 is the default, visually lossless for a photograph, and EXIF, the hidden metadata your camera writes into the file including GPS coordinates, gets stripped automatically the same result ImageOptim gives you by hand. Past the free tier, Pro is $12 a month flat for 10,000 images and batches of 100, with no per-image fee at any volume, so a heavy week costs the same as a light one.

How did we test, and where do the numbers come from?

Every capability number here traces to each tool's own published documentation, cited at the claim it supports, not to a blogger's screenshot. The one figure we can measure directly is our own: the homepage demo file is a 497 KB JPG that comes back 214 KB as WebP at quality 80, a 56.9 percent cut on a single real file. We do not publish invented before-and-after byte counts for tools we cannot run in this environment, which is why the comparison here is built on documented limits and one worked throughput example rather than a fabricated head-to-head.

That gap is the reason this page exists. The search results for this query are tool homepages and forum threads, with no objective side-by-side of cost, limits, and privacy anywhere in the top results. Here is the arithmetic that actually separates the free tiers.

Free per-image caps decide how big a file you can bring before the tool refuses it. The chart shows the three upload tools that publish a numeric limit.

Tool Free limit per image
TinyJPG 5 MB
Compressor.io 10 MB
This site 25 MB
Free per-image upload cap, by tool bigger bar means a larger file before the free tier stops you TinyJPG 5 MB Compressor.io 10 MB This site 25 MB Squoosh and ImageOptim run locally, so no server cap applies. Bar length proportional to MB.

Turn those caps into a batch and the gap widens. TinyJPG's free tier is 20 images at 5 MB each, so 100 MB of headroom in one go. This site's free tier is 30 images at 25 MB each, which is 750 MB, seven and a half times the room before you hit a wall. On the paid side, run a 200 image wedding shoot through JPEGmini's post-trial cap of 50 a day and that is four separate days to clear, 200 divided by 50, against two uploads on this site's Pro batch cap of 100, done the same afternoon. None of that is a quality claim, it is just where each free tier draws its line.

How do you compress a JPEG without losing quality?

You keep quality by compressing once, from the original file, at a quality setting around 75 to 85, and by never re-saving a JPEG that has already been through a compressor. JPEG is lossy, so every save throws away a little more detail that you cannot get back. The tool matters less than the habit here.

Three rules do most of the work, whatever the best JPEG compressor for your job turns out to be:

  • Compress from the master, not from a copy that was already compressed. Each re-save stacks new artifacts on top of old ones, a problem called generation loss, and by the third or fourth pass the blocking around edges is visible even at normal zoom.
  • Stay in the 75 to 85 quality range for photographs. Below about 70 you start to see mushy detail and haloing around hard edges; above 90 the file grows fast for a gain no screen actually shows. Quality 80, this site's default, is the safe middle for most photos.
  • Consider a modern format before you push quality lower. A WebP is typically 25 to 35 percent smaller than a JPEG at the same visual quality, and an AVIF is often around 50 percent smaller, so changing format often beats squeezing the JPEG harder. The tradeoff is slower AVIF encoding and older software that may not open it yet.

The short version: pick any competent compressor, feed it the original, hold quality near 80, and reach for WebP or AVIF when you need more than the JPEG can give. That single habit moves the file size more than the choice between these six tools ever will, which is why the picks above matter less than they look.

Which compressor should you use?

Match the tool to what you are actually protecting: privacy, time, control, or your wallet. The winner really does change with the job.

Situation Use
Sensitive photos, nothing should upload Squoosh or ImageOptim, both local
One quick batch, no installs TinyJPG, or this site if you need WebP or AVIF out too
Lossless for some files, lossy for others Compressor.io
Hundreds of JPEGs a month, Lightroom workflow JPEGmini, if the price buys back the time
Free forever, Mac only, no browser ImageOptim
Batch over TinyJPG's cap, or convert while shrinking This site's compressor

Six tools, six different tradeoffs, and none of them wrong for the right file. Remember that up to 80 percent is a ceiling and not an average, because savings depend on how compressed the image already was, and there is no one universal setting that fits every photo (web.dev). If the file just needs to get smaller without leaving your device, take Squoosh or ImageOptim. If it needs to leave as a different format too, or the batch is bigger than TinyJPG's free tier allows, drop it on the JPG compressor here and compare the after size against whatever these five gave you. For the step-by-step of getting one file down, see how to compress a JPEG; to hit a specific number, see reducing a file to a target in KB.

Questions

Is TinyJPG's up to 80 percent smaller claim realistic?

It is a real result on the right file, not a promise on every file. Savings depend heavily on the image's own content and how compressed it already was. A fresh, high-resolution photo has far more room to give up than one that has already been through a compressor once. Treat every "up to" figure, this site's included, as the ceiling rather than the average you should expect.

What is the best online JPEG compressor for privacy?

Squoosh, without much contest among browser tools. It runs entirely on your device, so the image never uploads anywhere, which makes it the most private option on this page. The tradeoff is that it has no batch mode, so you compress one file at a time and set the quality by hand instead of letting a server-side default decide for you.

Do I have to pay for JPEGmini to get real use out of it?

The free trial works but caps at 50 images a day once the trial period ends, which is a genuine bottleneck at professional volume. Paid plans start at $59 for Pro and rise from there for the Lightroom, Photoshop, and Capture One plugin bundles. It earns its keep mainly for photographers running consistent monthly volume who value the automation.

Which of these strips EXIF metadata automatically?

ImageOptim strips EXIF, embedded thumbnails, and comments by default as part of its normal pass. This site's compressor does the same, removing GPS coordinates, camera model, and timestamp on every file with no setting to find. TinyJPG, Squoosh, and Compressor.io do not advertise automatic metadata stripping the same way, so check each one if that matters to you.

Should I use one of these instead of this site's compressor?

If keeping the file fully local matters more than anything else, yes, reach for Squoosh or ImageOptim. If you want format conversion across JPG, PNG, WebP, and AVIF plus a bigger free batch in one pass, this site's JPG compressor covers ground TinyJPG and Compressor.io do not, at 25 MB an image and 30 to a batch with no signup.