Compress an image

Drop an image, drag the quality slider or type a target size in KB, and download a smaller file. Everything happens on your device.

Original: no image yet
Choose an image to start

Resized preview

Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.

How to compress

  1. Choose or drop the image.
  2. Lower the quality slider until the preview still looks good to you; the new size updates live.
  3. Or type a max file size in KB and let the tool find the best quality automatically (binary search over quality, then smaller dimensions if needed).
  4. Press Download.

What actually makes an image file smaller

File size depends on three things: the number of pixels, the format and the quality setting. Halving the width and height cuts the pixel count to a quarter, which usually cuts the file size by 60–75%. Switching a photo from PNG to JPG or WebP often saves 70–90%. Lowering JPG quality from 92 to 80 typically saves another 30–50%.

Approximate effect of JPG quality

QualityTypical size vs quality 100Visible effect
95≈ 45–60%None
85≈ 25–35%Very hard to see
75≈ 18–25%Slight softening of fine texture
60≈ 12–18%Halos near sharp edges
40≈ 8–12%Clear blockiness in skies and gradients

Ratios are typical for photos and vary with image content; noisy or detailed photos compress less.

Worked example

A 4032 × 3024 phone photo of 3.2 MB. Resized to 2000 × 1500 at quality 80, it typically lands around 300–450 KB, roughly a 90% saving, and still fills a 4K screen half-width cleanly.

Compress to a specific size

Frequently asked questions

How can I reduce image size without losing quality?
Remove pixels you do not need (resize to the display size) and use quality 85 or WebP. Truly lossless reduction is small, typically 5–15%, because the pixels must stay identical.
Why did my PNG not get smaller?
PNG is lossless, so the quality slider does not apply. Reduce the dimensions or save it as JPG/WebP instead.
What is a good quality setting?
80–85 for photos on the web. 90+ for images you will edit again. 60–70 when a strict size limit matters more than detail.