Utilo

Image Compressor

Free image compressor for JPG, PNG and WebP. Shrink files, convert to WebP, resize, and compare sizes. Processed on your device, with no upload.

What this image compressor does

Large photos slow down websites, bounce off email size limits and get rejected by upload forms with a 100 KB or 1 MB cap. This tool re-encodes JPG, PNG and WebP images to WebP, JPEG, PNG or AVIF at the quality you choose, optionally scaling them down to a maximum dimension. Encoding happens in a Web Worker using the browser's own image codecs, so your photos never leave your device and the page stays responsive during batch jobs.

How to use it

  1. Choose an Output format. WebP gives the best size-to-quality ratio with universal browser support.
  2. Set Quality. 70–80% is visually indistinguishable from the original for most photos.
  3. Set Max dimension to limit the longest side, for example 1920 px for full-width web images.
  4. Drop images onto the drop zone or click to browse. Multiple files are processed one after another.
  5. Compare the before and after sizes, then Save individual files or Download all.

Practical examples

  • Blog hero image: a 4.8 MB smartphone JPEG resized to 1920 px and saved as WebP at 75% typically lands around 200–350 KB.
  • Form with a 100 KB limit: set max dimension to 1200 px and quality to 60%; if the result is still too big, lower the dimension rather than quality.
  • Screenshots with text: keep PNG or use WebP at 90%+; low JPEG quality creates visible halos around letters.
  • Product photos for a shop: export AVIF where supported for 20–30% smaller files than WebP at similar quality.

Tips and edge cases

  • Reducing pixel dimensions saves far more bytes than lowering quality. A 4000 px photo shown at 800 px wastes about 96% of its pixels.
  • Converting a transparent PNG to JPEG fills transparency with white because JPEG has no alpha channel.
  • PNG output is lossless, so the quality slider has no effect; use it only for graphics and screenshots.
  • AVIF encoding depends on browser support. If your browser cannot encode it, the tool shows an error rather than producing a mislabelled file.
  • EXIF metadata, including GPS location, is stripped during re-encoding, which is good for privacy.

Frequently asked questions

Are my images uploaded to a server?

No. Images are decoded and encoded locally in a Web Worker using OffscreenCanvas. You can disconnect from the internet after the page loads and it still works.

Why is my output larger than the input?

The input was probably already well compressed, or you chose PNG or a very high quality setting. Lower the quality, choose WebP or reduce the maximum dimension.

What quality setting should I use?

Start at 75%. For photos, differences below about 70% become visible as blockiness in smooth areas like skies. For images with text or sharp edges, stay at 85% or above.

Should I use WebP or AVIF?

WebP is supported by every current browser and encodes quickly. AVIF compresses better but encodes more slowly and is not supported for encoding in every browser. Use WebP when in doubt.

Does compressing remove the photo's location data?

Yes. Re-encoding through a canvas discards EXIF metadata, including camera details and GPS coordinates.

Yes. All processing happens directly in your browser using JavaScript, Web Workers and Web APIs. Nothing you type, paste or upload is sent to our servers.