Skip to main content

Lossless Image Compressor

Make PNG, JPG and WebP files smaller without changing a single pixel. Every result is decoded again and compared with the original before you can download it.

Upload JPEG, PNG or WebP images

Drag and drop files here, or click to browse

Choose files

or paste an image (Ctrl+V)

Max Files: 500

Processed in your browser, never uploaded. You keep full ownership of your images. View license

Pixels stay identical. Files are processed in your browser and never uploaded.

How to compress images losslessly

  1. Add one or more images (JPG, PNG or WebP). Each is optimised straight away.
  2. Check the results. Every file shows its old and new size, what was done, and a Pixels identical check.
  3. Download files one by one or all together as a ZIP.

Tick Keep metadata if you need the camera details, copyright or other EXIF, XMP and IPTC information in the files.

What happens to each format

FormatWhat the tool doesTypical saving
PNGDecodes the image data exactly, then tries smaller but equivalent ways to store it: a palette when there are 256 colours or fewer, greyscale when there is no colour, no alpha channel when every pixel is opaque, 8 instead of 16 bits when nothing would change, and lower palette or grey bit depths. Each option is compressed with several PNG row filters at maximum zlib compression, and the smallest is kept. Interlacing, which makes files larger, is removed.5 to 40%; most for screenshots, graphics and PNGs saved by browsers or simple apps
JPGRebuilds the Huffman tables, the final coding stage, from the image's own statistics, as jpegtran -optimize does. The compressed image data (DCT coefficients and quantisation tables) is copied exactly. Metadata is removed too.2 to 10% from the coding, more when there is a lot of metadata or an embedded preview
WebPRemoves EXIF and XMP metadata; the image data is copied unchanged.Only the size of the metadata

Progressive JPEGs keep their coding as it is and only lose metadata. Animated PNGs keep their frames unchanged.

How "identical" is checked

Lossless means every pixel decodes to exactly the same value. Two independent checks enforce that:

  1. The tool decodes its own output again and compares it with the original: every pixel at full 16-bit precision for PNG, and every DCT coefficient of every block for JPEG.
  2. Your browser then decodes both the original and the new file, and every pixel is compared.

If either check finds a single difference, the optimised version is discarded and the original data is used. The file is also never made larger: when no saving is possible, it is left as it was.

What is always kept

  • Colour profiles (ICC, sRGB, gamma), so colours look the same.
  • Photo orientation: when EXIF is removed from a JPEG, a tiny orientation tag is written back so portrait photos stay upright.
  • Print resolution (DPI) in PNG files.
  • Transparency, including semi-transparent pixels.

Removed unless you tick Keep metadata: EXIF (camera, date and GPS location), XMP, IPTC, comments, PNG text chunks and, in JPEGs, extra images some phones append after the photo.

Lossless or lossy compression?

Lossless compression is right for graphics, screenshots, logos, archives and images you will edit again, because nothing is lost. It cannot shrink a photo as much as lossy compression, which throws away detail you are unlikely to see. If you need a much smaller photo, for a website or an upload limit, use the Image Compressor or Reduce Image Size; converting a photo PNG to JPG or WebP also saves far more.

Where the processing happens

Everything runs in your browser, in a background thread. Your images are not uploaded. The site itself loads analytics and advertising scripts, described in the Privacy Policy.

Questions about this tool

Does lossless compression reduce quality?

No. Every pixel stays exactly the same, and each result is checked pixel by pixel before you can download it.

How much smaller will my files be?

It depends on how the file was made. PNGs saved by browsers, screenshots and simple apps often shrink by 10 to 40%. JPEGs usually shrink by a few percent from the coding, plus the size of any metadata. Files that were already optimised may not shrink at all.

Why did my file not get smaller?

It was already stored efficiently (for example a PNG made by an optimiser, or a progressive JPEG without metadata). The tool never makes a file bigger, so it is left unchanged.

Is it safe to use on photos I want to print or edit later?

Yes. Pixels, colour profiles and orientation are kept. Tick Keep metadata if you also want the camera and copyright information.

Can I compress many images at once?

Yes. Add as many JPG, PNG and WebP files as you like; they are processed one after another and can be downloaded together as a ZIP.

Does it remove GPS location from photos?

Yes, unless you tick Keep metadata. You can confirm with the Image Metadata Viewer.