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
- Choose an Output format. WebP gives the best size-to-quality ratio with universal browser support.
- Set Quality. 70–80% is visually indistinguishable from the original for most photos.
- Set Max dimension to limit the longest side, for example 1920 px for full-width web images.
- Drop images onto the drop zone or click to browse. Multiple files are processed one after another.
- 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.