Compress images without uploading them

Drop pictures in, get smaller ones back. The work happens on your device, so there is no upload, no queue and no daily limit.

On your device. Nothing is uploaded.
Pasting a picture works too
Output
Size and quality

Aims for a much smaller file that still looks right. Use Compare to check.

Resize

How it works

When you drop a picture on this page, your browser opens it and re-encodes it with established open-source encoders: MozJPEG for JPG, OxiPNG for PNG, libwebp for WebP and libavif for AVIF. Those libraries run here as WebAssembly, inside the page. The picture is never sent anywhere.

That changes two things you can feel. There is no upload to wait for, and there is no daily limit, because your device is doing the work.

Which setting to use

Three modes cover almost every case.

  • Balanced aims for a much smaller file that still looks like the original at normal viewing size. Start here, and use Compare to judge the result yourself.
  • Custom quality gives you the slider. Lower numbers mean smaller files and more visible loss.
  • Target size is for upload limits. Type the limit in KB and the tool finds the best quality that fits. If quality alone cannot get there, it scales the picture down a little and tells you by how much.

What to expect from each format

JPG, WebP and AVIF are lossy: they discard detail the eye is least likely to miss. PNG is lossless here, so a PNG comes back pixel-for-pixel identical and the saving is smaller. If a PNG is a photo, converting it to WebP or JPG will save far more than compressing it as a PNG.

If re-encoding a JPG, PNG or WebP would not make it smaller, you get the original picture back with its hidden data removed, and the tool says so. An AVIF, or a JPG stored sideways, is always re-encoded and can come out larger; the result row shows it.

Compress image: common questions

Are my images uploaded to a server?

No. They are opened and compressed by your browser on your own device. You can check: compress one picture, switch off your internet connection, then compress another of the same type. It keeps working, because nothing was being sent.

Is there a limit on file size or number of files?

There is no daily limit. You can add up to 20 files at a time, and a single picture can be up to 80 megapixels. There is no limit in megabytes, but very large pictures can fail on a device with little memory.

Will compression remove the location data from my photo?

Yes. Every file this tool hands back, including one it could not make smaller, comes without the EXIF data that holds the camera, date and GPS position. If you only want to remove that data and leave the picture untouched, use the Remove EXIF tool.

Why did my PNG barely shrink?

PNG compression here is lossless, so nothing is thrown away. Screenshots and graphics shrink well; photos saved as PNG do not. Convert a photo to WebP or JPG for a much smaller file.

Keep going

All tools

Read more

How your files stay on your device