Skip to content
cliplimeClipLime

Compress images without losing quality

TinyPNG style compression that runs on your own device. Drop your pictures and get files that look the same at a fraction of the size.

Runs on your device, nothing is uploaded

or drop files here

JPG, PNG, WebP and AVIF (HEIC, TIFF, BMP and GIF too) · add as many as you like · nothing is uploaded

At a glance

What it does
Makes JPG, PNG, WebP and AVIF pictures much smaller while they still look the same, one at a time or a whole folder at once.
How
For JPG, WebP and AVIF it finds, picture by picture, the lowest quality that still looks like the original. For PNG it reduces the colours to at most 256 with smooth dithering and repacks the file, the method TinyPNG and pngquant use.
Levels and options
High quality, Balanced and Smallest, or a size to stay under such as 100 KB. You can also limit the longest side, switch to WebP or AVIF, keep or remove camera details and GPS location, and compare before and after.
Typical results
In our tests Balanced made camera style JPG photos 40 to 70 percent smaller and PNG photos 60 to 80 percent smaller. PNG screenshots and logos came out 50 to 65 percent smaller. Your results depend on the picture.
Same format, not bigger
A picture in the same format is not handed back bigger than it came. If compressing would only save a few percent, you get the original and a note under the picture says so. The one exception is a picture that carries camera details or a location which cannot be cut out of the file itself (always the case for AVIF, very rarely for the others): it has to be saved again to remove them. It is saved at the highest quality that keeps it smaller than before, and in the rare case where even a low quality cannot, the note says how much larger it is.
Bigger or unchanged
Changing the format can make a file bigger: HEIC photos are already very small, so the JPG made from one is usually larger, and the list says so. Animated GIF, WebP, PNG and AVIF files, and TIFF files with several pages, are left exactly as they are.
Limit
Up to 100 megapixels per picture. AVIF output stops at 64 megapixels and WebP at 16,383 pixels on a side.
Privacy
Pictures are compressed in your browser and never uploaded. Free, with no sign-up and no watermark.

How to do it

  1. 1

    Add your pictures

    Choose or drop one picture or a whole batch. JPG, PNG, WebP and AVIF are compressed in their own format. HEIC, TIFF, BMP and GIF pictures are opened too and saved as JPG or PNG.

  2. 2

    Pick how much

    Balanced is right for most pictures. High quality keeps the finest detail, Smallest gives up a little of it. Or switch on Stay under a file size and enter a limit such as 200 KB.

  3. 3

    Compress

    Press the big button. Each picture shows its new size and how much smaller it is. A picture that cannot get smaller without losing quality is returned as it was, and a note under it says why.

  4. 4

    Check and download

    Press the compare button on a picture to slide between the original and the result. Then download one by one, or all together as a ZIP. A compressed copy gets -compressed added to its name; a picture that came back unchanged keeps its own name.

What compression does and how the levels differ

Most of a picture's size is detail your eyes cannot tell apart. Compression removes that detail, and a good compressor removes exactly as much as it can without anyone noticing.

  • JPG, WebP and AVIF are lossy formats. A quality number decides how much detail is thrown away, but the same number suits different pictures differently: a smooth sky can take a low quality, a pile of leaves needs a high one. This tool tries several qualities on representative parts of each picture, compares every try with the original using a perceptual similarity score (SSIM), and keeps the lowest quality that still scores as well as the level you chose. That is why two pictures at the same level can end up at different qualities.
  • PNG is lossless, so it cannot simply discard detail. Instead the tool reduces the picture to a palette of at most 256 well chosen colours and spreads the small colour errors across neighbouring pixels (dithering) so that gradients stay smooth. The palette keeps transparency. Then the file is repacked as tightly as possible with OxiPNG. This is what TinyPNG and pngquant do, and it typically removes most of the file. A picture that already has few colours, such as a plain logo or a flat graphic, is not changed at all: it is only repacked.
  • High quality keeps the result very close to the original, even when you zoom in. JPG quality stays between 85 and 95. PNG keeps 256 colours with full dithering.
  • Balanced (the default) targets a result that looks the same at normal size. JPG quality moves between 74 and 90 depending on the picture. PNG keeps 256 colours with lighter dithering, which makes smoother files.
  • Smallest accepts slightly softer fine detail for the smallest files. JPG quality moves between 62 and 85, and PNG uses up to 192 colours.

In our tests on camera style JPG photos, High quality saved 15 to 55 percent, Balanced 40 to 70 percent and Smallest 60 to 80 percent. Pictures full of fine texture, such as foliage, compress less than smooth ones.

Staying under a file size

Many forms and email systems have a size limit. Switch on Stay under a file size and enter it, from 5 to 50,000 KB. A kilobyte is counted as 1,000 bytes, the smaller way of counting, so the result is under the limit however a form counts, and the list shows sizes the same way.

The tool first tries the level you chose: if that result already fits, it is used. Otherwise it lowers the quality, but only down to a floor where pictures start to look rough (55 for JPG and WebP, 42 for AVIF). If the whole picture fits at that floor it keeps all its pixels and the quality is raised as far as the limit allows. Only when even the floor is too big does it make the picture smaller in pixels, and the note says what size it came out at. For PNG, colours come first: a screenshot or a logo can lose most of its colours and still look right, so those are reduced before any pixels are given up, while a photo keeps most of its colours (96 or more) and is made smaller in pixels instead.

A limit is a best effort: it stays under the number you give, usually within a few percent of it, and the list shows how close each file got. If a picture cannot reach the limit without becoming too small to use, you get the smallest result and a note on that picture says the limit was missed. A tiny limit such as 20 KB always costs pixels: a photo cannot hold much detail in that space.

When a file is left alone or comes back bigger

Compressing a lossy picture again loses a little more detail every time, and the gain gets smaller each time. So the tool checks before it saves a JPG, WebP or AVIF again. It works out what quality the file was saved at from how many bytes it takes for its pixels. If that is already about as low as the level would go, or if saving it again would take off less than 5 percent, you get the file back unchanged and the note under it says why. A JPG that this tool made is recognised from its own quantization tables and left alone at the same level or a gentler one, so compressing the tool's own results again changes nothing. A camera photo or an export at a high quality is above that line and is compressed as usual. To get a smaller file from a picture that came back unchanged, start again from the original with a lower level, or switch on a size limit, which always works toward the limit. For PNG a repack that keeps every colour is taken even for a gain of 1 percent, because nothing is lost.

A picture that stays in its own format does not come back bigger, apart from the rare privacy case in the next paragraph. A conversion to another format can, and the list says so when it happens. HEIC photos are very efficient, so a JPG made from one is usually larger, and an SVG, which is only a few lines of text, becomes a much larger picture when it is turned into pixels. A PNG made from a photo is far larger than a JPG. In each case the note suggests a better choice, such as WebP or AVIF for a HEIC photo.

The other case is privacy. An AVIF cannot be cleaned in place, so if it carries camera details or a location and you asked for them to be removed, the picture is saved again without them, at its full size and at the highest quality that keeps the file smaller than the old one, and the note under it says so. Only an AVIF saved at a very low quality to begin with can fail that; the new file is then a little larger and the note says by how much. Switch on Keep camera details and location and the file is left exactly as it is.

Which format to end up with

  • Same keeps every picture in its own format, so nothing stops working where you use it.
  • WebP is often smaller than JPG at the same look (in our tests about 4 to 5 percent smaller for two large detailed photos and 20 to 45 percent smaller for small, smooth or graphic pictures), supports transparency and opens in all current browsers. Older programs and some upload forms do not accept it.
  • AVIF often makes the smallest files of all (in our tests 12 to 17 percent below JPG on two large detailed photos and 24 to 41 percent below on smaller ones), but it takes longer to make and is not understood everywhere yet. It stores transparency with a little loss: soft edges can change slightly, so use WebP or PNG when exact transparency matters.
  • JPG works everywhere but cannot be transparent: see-through areas are filled with a colour you choose.
  • PNG keeps transparency and sharp edges. It is the right choice for screenshots, logos and graphics, and a poor choice for photos.

What is kept, what is removed and what it cannot do

By default the camera details, date and GPS location stored in a photo are removed, which also makes the file a little smaller and is useful before you share it. A picture that is returned unchanged has them cut out of the file itself where that is possible (JPG, PNG and WebP), so its pixels stay exactly as they were. Switch on Keep camera details and location to copy them into JPG, PNG and WebP results. Compressed pictures have their colours converted to sRGB, and photos that were stored sideways are turned the right way up. A picture that is left as it is keeps its colour profile and its own name.

Animated GIF, WebP, PNG and AVIF files and TIFF files with several pages are left exactly as they are, with the hidden data cut out of WebP and PNG files when you asked for that. Compressing them would keep only the first frame or page, and the tool does not turn an animation into a still picture. It also does not compress video, RAW camera files or PDFs: for PDFs use Compress PDF, and to change the pixel size alone use Resize Image. It cannot recover detail that a picture has already lost, and when a limit is too small for any useful picture it tells you. Pictures of more than 100 megapixels are refused with a message.

Questions people ask

Will my pictures look different?

At normal size you should not be able to tell the difference at High quality or Balanced. At 100 percent zoom, Smallest can look slightly softer in very fine detail. Use the compare button to check any picture before you download it.

Why did a file stay the same size?

Because compressing it would not have helped. Either it is already about as compressed as the level would make it (a JPG saved at a low quality, a PNG with few colours), or saving it again would take off less than 5 percent and lose detail for it. Rather than hand back a file that is bigger or barely smaller, the tool gives you the original, and the note under it says which of the two it was.

Why is my result bigger than the original?

It changed format. HEIC photos are already very small, so a JPG from one is larger, and any picture turned into a PNG grows. Choose WebP or AVIF for a HEIC photo. The one same format case is an AVIF with a location, saved at a very low quality: removing the location means saving the picture again, which can then cost a little more space, and the note under the file says how much.

How is this different from TinyPNG?

The method for PNG is the same kind: fewer colours with dithering, then repacking. For JPG, WebP and AVIF this tool picks the quality for each picture by comparing the result with the original. The main difference is that everything happens on your device, so your pictures are never uploaded, and there is no limit on the number or size of files except what your device can handle.

Can it compress animated GIFs?

No, and it does not change them either. An animated GIF, WebP, PNG or AVIF is returned exactly as it was, because compressing it would keep only the first frame. Use a video tool for animations.

Does it work with HEIC photos from an iPhone?

Yes. HEIC photos open and are saved as JPG, or as WebP or AVIF if you choose that under Format. The JPG is usually larger than the HEIC, and the note says so.

Is my picture uploaded anywhere?

No. The pictures are read and compressed in your browser and the results are saved straight to your device.

Guides that help

All Images guides →