Skip to content

Image Compressor

Shrink JPG, PNG and WebP images with an adjustable quality slider and a before/after comparison.

AvailableRuns in your browserFree · No sign-up

Image Compressor

Your images are processed locally in your browser. They are not uploaded to OZVILO servers.

How to use the Image Compressor

  1. 1Drag and drop an image, or click to choose a JPG, PNG or WebP file.
  2. 2Pick an output format — it starts with your original format.
  3. 3Move the quality slider. The preview and file size update automatically.
  4. 4Compare the original and compressed versions with the slider, then download.

Examples

  • Photo for a website

    Input
    4.2 MB JPEG · quality 80%
    Result
    Often a fraction of the original size with little visible difference
  • Screenshot or graphic (PNG)

    Input
    PNG → WebP at 80%
    Result
    Keeps transparency and is usually much smaller than PNG

Frequently asked questions

Are my images uploaded to a server?

No. Compression happens entirely in your browser using the built-in Canvas API. Your image never leaves your device, and nothing is stored after you close the page.

Why is the quality slider disabled for PNG?

PNG is a lossless format, so browsers ignore any quality setting when saving it. Re-saving a PNG rarely makes it much smaller. To reduce a PNG's size, choose WebP (which keeps transparency) or JPEG.

Why is my compressed file larger than the original?

Images that are already well optimized, or saved at a low quality, can grow when re-encoded at a higher quality. The tool always shows the real result — if it's bigger, lower the quality, try another format, or keep your original.

What happens to transparency when I choose JPEG?

JPEG can't store transparency, so transparent areas are filled with a background color you choose (white by default). You'll see a warning first.

Is photo metadata kept?

No. The compressed image is re-drawn from pixels, so EXIF metadata such as camera details and GPS location is removed. The photo's orientation is applied before saving, so it still displays the right way up.