Skip to content

Compress images

Make photos and graphics much smaller without visible loss. Choose a quality or a maximum file size such as 100 KB, compare the result with the original and download one image or a whole batch. Your images never leave your device.

Share
  • Processed on your device
  • Free, no sign-up
  • No watermarks
  • No file size caps

Drop images to compress

or click to choose files · JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, SVG

Compress to
Choose images

Your images never leave your device.

Your file stays on this device. Processing happens in this browser tab and is erased when you close it.

How to compress an image

  1. 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.
  2. 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 %.
  3. 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.
  4. 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.
  5. Download. Click Download for a single image or Download all (ZIP) for a batch.

The settings

SettingWhat it doesGood starting point
Output formatSame 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.
Quality1–100, from Smallest to Best. Lower values give smaller files and more visible artefacts.70–80 for photos.
Target sizeA 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.
EffortSmallest 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.

Frequently asked questions

How do I compress an image to 100 KB (or 50 KB, 20 KB)?
Switch Compression to Target size and click the 100 KB chip, or type any number into Maximum file size. The tool searches for the highest quality that fits. If even a low quality is still too big, it also reduces the pixel dimensions and marks the result “made smaller to fit”.
Will compressing make my photo look worse?
At the default quality of 75 most photos look the same as the original on screen while the file becomes several times smaller. Drag the line in the before/after view and zoom in to check details such as faces, text and skies. If you see blocky areas or halos, raise the quality a little.
How do I compress a PNG without losing transparency?
Keep the format on Same or choose PNG. PNGs are reduced to 256 colours by default, and the Colours slider goes down to 4 or up to Lossless. 256 colours look identical for most logos, icons and screenshots and usually cut the file size dramatically, while transparency is preserved. For photos with transparency, WebP is often smaller still.
Are my images uploaded to a server?
No. Decoding, compression and encoding happen in your browser on your own device. Nothing is sent to our servers, and after the page has loaded the tool also works offline.
Why is my compressed file larger than the original?
This happens when the original was already heavily compressed, or when you choose a higher quality or a less efficient format. With Keep the original if the result is larger switched on (the default), the tool simply keeps your original file in that case.
Which format gives the smallest files?
For photos, AVIF is usually the smallest, followed by WebP and then JPG. JPG remains the safest choice if the image must open everywhere, for example in old software or email clients. For screenshots and graphics, PNG with reduced colours or WebP work best.
Can I compress many images at once?
Yes. Drop or select as many images as you like. They are processed in parallel with the same settings, and Download all (ZIP) saves them in one archive.
Does compression remove EXIF data?
Yes. Location and camera data (EXIF) are removed from the result. This protects your privacy when sharing photos and saves a few extra kilobytes. The photo is rotated correctly before the data is removed.