How to compress an image
- Add your images. Drop them onto the box above, click Choose images or paste a screenshot with Ctrl+V / Cmd+V. You can add many files at once. No image at hand? Click Try it with a sample photo.
- Check the automatic result. Every image is compressed straight away with quality 75 in its original format. The badge in the filmstrip shows how much smaller it became, for example −78 %.
- Compare. Drag the line in the viewer to see the Original and the Result side by side. Zoom in with the mouse wheel, by pinching or with the 1:1 button.
- Adjust if needed. Move the Quality slider, or switch to Target size to set a maximum file size. Change the Output format if you want WebP, AVIF, JPG or PNG.
- Download. Click Download for a single image or Download all (ZIP) for a batch.
The settings
| Setting | What it does | Good starting point |
|---|---|---|
| Output format | Same keeps the format (HEIC, GIF, BMP and SVG become JPG, or PNG if transparent). Or pick JPG, PNG, WebP or AVIF. | Same for safe sharing; WebP for websites. |
| Quality | 1–100, from Smallest to Best. Lower values give smaller files and more visible artefacts. | 70–80 for photos. |
| Target size | A maximum per file in KB, with chips from 20 KB to 1 MB. | The limit of the form or site you upload to. |
| Colours (PNG) | Reduces a PNG to 256 down to 4 colours, with dithering. Lossless keeps every colour. | 256 for logos and screenshots. |
| Lossless (WebP) | Stores every pixel exactly, like PNG, but usually smaller. | For graphics that must stay pixel-perfect. |
| Effort | Smallest file spends more time for slightly smaller PNG and AVIF files. | Fast for big batches. |
Quality, file size and what the numbers mean
The quality number is not a percentage of the original. It tells the encoder how much detail it may throw away. JPG, WebP and AVIF split the picture into small blocks and store fine detail with less precision, starting with the details your eyes notice least. Between 100 and about 85 the file shrinks a lot while nothing visible changes. Between 85 and 60 you still see little difference on most photos. Below about 50, smooth areas such as skies begin to show bands and blocks, and sharp edges get small halos.
This is called lossy compression: the discarded information cannot be restored, so keep your originals. Lossless compression (PNG, or WebP with Lossless) only stores the same pixels more efficiently. It is perfect for screenshots and graphics, but photos stay large.
How target size works
People often need an image under a fixed limit: 100 KB for an application form, 50 KB for a profile picture, 20 KB for an old portal. With Target size, the tool encodes the image several times and narrows down the highest quality that still fits. If the limit is very small compared with the number of pixels, quality alone is not enough. The tool then reduces the width and height step by step until the file fits, and the result says “made smaller to fit”.
For PNG files, target size first tries fewer colours (256, 128, 64, 32) and then smaller dimensions. Bear in mind that a large photo squeezed into 20 KB will always lose detail. If you know the size the image is shown at, resize it first with the image resizer — fewer pixels is the most effective way to save space.
JPG, PNG, WebP or AVIF?
- JPG — the universal photo format. This tool uses MozJPEG with progressive encoding, which gives smaller files than most cameras and phones produce. No transparency.
- PNG — lossless and with transparency. Great for logos, icons, charts and screenshots; poor for photos. With reduced colours it becomes a “lossy PNG”, similar to what TinyPNG does.
- WebP — usually noticeably smaller than JPG at similar quality, supports transparency and opens in all modern browsers.
- AVIF — usually the smallest file for photos, but slower to create. Supported by current browsers; older apps may not open it.
To change the format without thinking about compression, use the image converter. iPhone photos in HEIC can be compressed here directly, or turned into JPG with HEIC to JPG.
Tips and common mistakes
- Don’t compress the same JPG again and again. Each lossy save adds new artefacts. Always start from the original.
- Check text and faces at 1:1. These show artefacts first; landscapes hide them well.
- Use PNG colours for screenshots. A screenshot saved as JPG often looks blurry around text and may even be larger.
- For websites, combine resizing and compression. A 4000-pixel photo shown 800 pixels wide wastes most of its bytes.
- Putting photos into a document? Compress them first, then use JPG to PDF. For an existing PDF, try Compress PDF.
Limits
Very large images (tens of megapixels) need a lot of memory and take longer on older phones. Animated GIFs are reduced to their first frame. AVIF encoding is noticeably slower than JPG or WebP. Compression cannot restore detail that a previous compression has already removed, so a blurry or blocky source stays that way.
Privacy
Your images are processed entirely inside your browser using WebAssembly encoders. They are not uploaded, not stored and not seen by anyone. Location and camera data are removed from every result, and everything is discarded when you close the tab.