Skip to content
Runs on your deviceWorks offline

Compress an image

Make a JPG or PNG smaller by choosing how much quality to spend.

Your device

Or drop one anywhere on this page — JPG, PNG or WebP

Local processingNo server uploadYour files are processed in your browser and are not uploaded to our servers.
Local processingNo server uploadYour files are processed in your browser and are not uploaded to our servers.

What to know about Compress Image

Make a photo smaller without sending it anywhere. Two ways to do it: pick a quality level yourself, or name the size you need — under 100KB, under 2MB — and let the tool search for the gentlest setting that comes in under it. That second one is the question forms and portals actually ask, and a quality slider cannot answer it. Everything runs in your browser.

Most people arriving here have been given a number. An application portal will not accept anything over 100KB. A job site wants a photograph under 50KB. An email gateway rejects attachments past 2MB. That is a different question from "make this smaller", and a quality slider cannot answer it — you would be guessing at a setting, checking the result, and guessing again.

So there are two modes. Name a maximum file size and the tool searches for the gentlest setting that comes in under it, usually in five or six attempts, all of them inside your browser. Or take the quality slider and drive it yourself when you care more about how the picture looks than about a specific number.

The search optimises for the gentlest setting that fits, not the smallest file it can produce. Somebody who asks for 100KB wants a decent 96KB picture, not a ruined 30KB one — and a compressor that returns the latter has technically satisfied the requirement while failing the person who made it.

One limit worth stating plainly: this page keeps your dimensions. A 12-megapixel phone photo held at full size genuinely cannot reach 100KB and still look like anything, so if quality alone runs out you are told, and you can tick one box to let the picture come down in pixels as well. That is the setting that reaches almost any target, and it is off by default because shrinking a picture silently to hit a number is not compression.

Image compression is a trade, and the useful thing a compressor can do is show you what you are trading. Quality 0.8 on a photograph typically removes more than half the bytes and leaves a picture almost nobody can distinguish from the original at normal viewing size. Quality 0.5 is visibly softer in flat areas — skies and skin — and is still perfectly reasonable for a thumbnail. There is no setting that is right for every picture, which is why this tool reports both sizes and lets you run it again rather than choosing for you.

The dimensions are deliberately left alone. A compressor that also quietly scales the image down produces a much smaller file and a different picture, and the saving then gets attributed to compression when most of it came from throwing away pixels. If the image is larger than it needs to be, Resize Image is the honest way to say so.

One case worth knowing about: a screenshot or a logo saved as PNG will often come back about the same size as it went in. PNG is already lossless and the browser re-encodes it losslessly, so there is little for a quality slider to spend. For that kind of picture the real saving comes from changing the format, which Convert Image does.

How to compress an image

  1. 1

    Choose the picture

    Drop a JPG, PNG or WebP onto the page, or pick one from your device. It is read where it already sits.

  2. 2

    Choose quality, or name a size

    Set the quality yourself, or switch to maximum file size and type the limit you were given — 100KB, 50KB, 2MB.

  3. 3

    Compare and download

    The original and new sizes are both shown. Run it again at a different quality if the trade is not the one you wanted.

What Compress Image accepts and produces

Input
One JPG, PNG or WebP picture, up to roughly 100 megapixels.
Output
The same picture at the same dimensions, either at the quality you picked or at the gentlest quality that meets the size you named.
Limits
A size target is a goal, not a guarantee. With the dimensions held fixed a large photo cannot always reach a small number, and when it cannot the tool says so and names the setting that would — it never returns a worse file and calls it a success.
Offline
Yes. Nothing is downloaded to make this work — the codec is the browser's own, so it runs with the network off from your first visit.

Why Compress Image here

  • Before and after sizes reported, so the saving is a fact rather than a promise
  • Dimensions untouched — the saving comes from compression, not from shrinking
  • JPG, PNG and WebP in, and your choice of encoding out
  • Runs in your browser, so the photo is never uploaded

Where your file goes

Nowhere. This tool runs inside your browser, and the page is served with a policy that forbids it from sending your document anywhere. You can confirm that yourself: open your browser’s developer tools, watch the Network tab, and process a file.

Questions

How do I compress an image to exactly 100KB?

Switch to the maximum file size mode, type 100 and leave the unit on KB. The tool then searches its compression settings for the gentlest one that produces a file under 100KB, and reports what it found. If your picture is a large photograph it will usually also need the dimensions to come down, which is the checkbox directly below the size box — with that on, 100KB is reachable for almost any image.

What if it cannot reach the size I asked for?

You are told, clearly, along with the closest it managed and the reason. The three reasons have three different answers: quality alone ran out and allowing a smaller pixel size would fix it, the output is PNG which has no quality to spend, or every setting was tried and the picture simply cannot be that small. It never hands back a worse file and calls it a success.

How much smaller will my image get?

For a photograph saved as JPG, quality 80% commonly removes half to three quarters of the file size with no difference most people can see. For a screenshot or a logo saved as PNG the saving is usually small, because PNG is lossless and there is little redundancy left to remove. The tool reports the real numbers rather than an estimate, so you will know within a second either way.

Will compressing make my photo look worse?

At high quality settings, not in any way that is visible at normal viewing size. JPG and WebP discard detail the eye is least sensitive to first. The damage becomes noticeable in large flat areas — a clear sky, a plain wall, skin — where banding and blotches appear before anything else. If you see that, raise the quality and run it again.

Does it change the image dimensions?

No. The picture comes out exactly as many pixels wide and tall as it went in. Only the encoding changes. If you want fewer pixels as well, use Resize Image, which is a separate operation for a reason — the two savings are worth keeping distinguishable.

Why did my PNG barely get smaller?

Because PNG is a lossless format and the browser's encoder is lossless too, so there is no quality to spend. The quality setting simply does not apply. If the picture is a photograph, converting it to JPG or WebP will shrink it dramatically. If it is a logo or a screenshot, WebP will usually beat PNG while staying lossless-looking.

Is my photo uploaded to compress it?

No. The decoding and re-encoding happen in a worker inside your browser, using the same image support the browser already has for displaying pictures on any web page. You can open the network panel, compress a file and watch that nothing carrying it is sent.

Can I compress several images at once?

Not in this tool — it takes one picture at a time, so that the before and after comparison means something specific rather than being an average across a batch. For many files, running them one after another is quick, since nothing has to upload or queue.

Does it strip the EXIF data from my photo?

Yes, as a side effect of re-encoding. Camera make and model, the timestamp and any GPS coordinates are not carried into the new file. That is usually welcome before sharing a photo publicly, but if you need that metadata, keep your original — it is untouched on your device.

Is there a size limit or a watermark?

No watermark, no account and no daily cap. The practical ceiling is about 100 megapixels, which is where the memory needed to hold a decoded picture starts to be more than a browser tab reliably has.