How to choose an image compression tool

We build one of these, so a ranked list from us would not be worth reading. Here are the categories, what each is genuinely good at, and the questions that decide between them.

The categories

Browser-based, client-side
Nothing uploaded. Limited to formats the browser can decode.
Browser-based, server-side
Better encoders and more formats. Your file is uploaded.
Desktop applications
Full control, batch, no upload. Something to install and licence.
Command line
The best encoders, scriptable, free. Needs comfort with a terminal.
Build plugins
Automatic and permanent. Only useful if you have a build.
Hosted APIs and image CDNs
Optimise on request at scale. Ongoing cost, external dependency.

Choosing well

A disclosure, first

This site is a browser-based, client-side compressor. That means we sit inside one of the categories below and compete with several of the others, so a ranked list of named products written by us would be marketing wearing a lab coat.

What follows instead is the criteria — including the ones where our own category loses. If you want a leaderboard, get it from somebody with nothing in the race.

The question that eliminates most options

Does your file leave your device?

For a holiday photograph, this barely matters. For a passport scan, a signature, a medical document, an unreleased product shot or anything covered by a client agreement, it decides the matter on its own — and those are exactly the files people compress, because they are the ones with upload limits attached.

You can test any tool in about thirty seconds: load the page, disconnect from the internet, and try to compress an image. Client-side tools keep working. Server-side tools fail. You can also watch your browser's Network tab for a large upload request while it runs.

Run that test on us too. It is the point of the exercise.

What each category is genuinely best at

Client-side browser tools
Best for: sensitive files, quick one-off jobs, working on a device you cannot install software on. Weak at: formats browsers cannot decode (HEIC, RAW, TIFF), very large batches limited by tab memory, and encoder quality — a browser's JPEG encoder is a few per cent behind MozJPEG.
Server-side web tools
Best for: exotic formats, very large files, consistent output regardless of the visitor's browser. Weak at: privacy, by construction. Also usually metered, because processing costs the operator real money.
Desktop applications
Best for: repeated professional work, precise control, large local batches, integration with an editing workflow. Weak at: being available on a machine you do not control, and cost.
Command line
Best for: scale, repeatability, and access to the best encoders — MozJPEG, oxipng, libavif. Free and scriptable. Weak at: being approachable, and easy to run destructively by accident.
Build plugins
Best for: making optimisation permanent so nobody has to remember. Weak at: anything outside a codebase.
Hosted APIs and image CDNs
Best for: large or user-generated catalogues, per-browser format negotiation, no build step. Weak at: cost that scales with traffic, and adding an external dependency to your delivery path.

Criteria worth checking, in rough priority order

  1. Where processing happens, and whether you can verify it rather than being told.
  2. Whether it can hit an exact size, if you have a form with a limit. Many tools only offer a quality slider.
  3. Whether it resizes as well as compresses. Dimensions matter more than quality, and a tool that ignores them is solving half the problem.
  4. Whether it reports honest numbers — including when a file gets larger, or a target cannot be met.
  5. Whether "lossless" means lossless. A tool claiming 70% lossless savings on a photograph is quantising the palette and calling it something else.
  6. Metadata handling, and whether you get a choice.
  7. Batch support and real limits, including any daily quota.
  8. Watermarks and account requirements.

Claims that should make you cautious

  • "Lossless compression, up to 80% smaller" on photographs. Not achievable losslessly. Something is being quantised.
  • "AI-powered compression." Occasionally meaningful, usually a synonym for a quality slider.
  • "Files deleted after one hour." Fine as far as it goes — but it confirms the files were uploaded, and you are trusting an unverifiable claim.
  • A progress bar that always takes the same time regardless of file size. It is animation, not progress.
  • Settings that change nothing. Compress the same image twice at very different settings and compare the bytes. If they match, the control is decorative.

A reasonable default for most people

Use a client-side browser tool for occasional work and anything sensitive. Use the command line or a build plugin the moment it becomes repetitive. Use a hosted service when the catalogue is large enough that neither of those scales.

Those three cover almost every real situation, and two of them are free.

Try it yourself

Everything below runs in your browser, so you can test any of this on your own files without uploading them.

  • Compress JPEG

    Shrink JPG and JPEG photographs with a quality slider or an exact target size.

    Open the tool
  • Bulk compressor

    One setting across a whole folder, processed in parallel, downloaded as a ZIP.

    Open the tool

Questions

Frequently asked questions

Every answer below is present in the page source, expanded, so it can be read without opening anything.

What is the best image compression tool?

There is no single answer, and we are not a neutral party — this site is one of them. The right choice depends on whether your files are sensitive, whether the work is repetitive, and what formats you need. The criteria on this page are more useful than any ranking.

Are free online compressors as good as paid software?

For ordinary work, generally yes. Paid desktop software earns its cost through workflow integration, precise control and handling formats browsers cannot open — not usually through producing dramatically smaller files.

How do I know if a tool uploads my files?

Load the page, disconnect from the internet, and try to compress an image. If it still works, the processing is happening on your device. You can also watch the Network tab in your browser's developer tools for a large upload while it runs.

Should I be suspicious of 'lossless' claims?

When they come with a large percentage on photographic content, yes. Genuine lossless compression cannot achieve 70–80% on a photograph. What is usually happening is palette quantisation — a lossy step — followed by a lossless save.

Is a paid tool worth it?

If you compress images daily, a desktop application or a scripted pipeline pays for itself in time. If it is occasional, free tools are entirely sufficient and there is nothing meaningful being withheld.

Which tool produces the smallest files?

At the top end, command-line encoders — MozJPEG for JPEG, libavif for AVIF, oxipng for PNG. They are free, they beat browser-based tools by a few per cent, and they require comfort with a terminal.

From the blog

Related reading

Longer, more practical guides from the blog.

  • Practical Guides

    How to Compress Images for a Website Without Wrecking Them

    Resize before you compress. Measured on one photograph: half the width at quality 80 produced a 16.4 KB file, while full width at quality 40 produced 20.6 KB and looked far worse. The order of operations matters more than the settings.

    8 min read

  • Image Compression

    JPEG Quality Settings Explained: What the Number Actually Means

    Quality 80 is not 80% of anything. It is an index into a quantisation table. Measured on one photograph: dropping from 100 to 90 removes 77% of the file and 4.2 dB of fidelity; dropping from 40 to 30 removes 17% and costs almost as much.

    8 min read

  • Practical Guides

    How to Strip EXIF Data From Photos, and What Breaks When You Do

    A photograph from a phone can carry the coordinates of the place it was taken, the camera serial number and the exact timestamp. Removing that data is straightforward. Removing it carelessly rotates your photos sideways.

    9 min read