Image Compressor

Compress JPEG, PNG, WebP, and AVIF images online — reduce file sizes by up to 90% with a live before/after comparison. Batch compression, ZIP download, format conversion. No upload — 100% private, runs entirely in your browser.

Drop images here to compress

Drag & drop, click to browse, or paste with Ctrl+V

JPEGPNGWebPAVIFGIF
100% Private Runs in Browser No Server Upload

How to compress images online

Upload your images by dragging them onto the drop zone, clicking to browse files, or pasting directly from clipboard with Ctrl+V. You can upload multiple images at once for batch processing.

Select a quality preset or fine-tune the slider from 10 to 100%. Choose an output format — keeping the original, or converting to JPEG, PNG, or WebP. Optionally set a max width to resize large images proportionally.

Click Compress to process the selected image, or Compress All to process the entire batch. Use the interactive before/after slider or side-by-side view to verify quality, then download individually or as a ZIP archive.

Quality presets explained

Max Quality (95%) — Minimal compression with virtually no visible difference. Best for professional photography, print assets, or images you will further edit later.

High (85%) — Light compression preserving excellent detail. Good for hero images, product photography, and portfolio work where quality is important.

Balanced (75%) — The recommended default. Achieves 40–60% file size reduction with no perceptible quality loss for most images.

Web Optimized (65%) — Optimized for fast page loads. Reduces file sizes by 50–70% while maintaining acceptable visual quality for web use.

Aggressive (45%) — Maximum reduction for thumbnails, avatars, and images where size matters more than absolute quality.

PNG vs JPEG vs WebP: which format should you choose?

JPEG is the best choice for photographs and complex images with gradients. It achieves the highest compression ratios for photographic content (60–80% reduction) at the cost of being lossy.

PNG uses lossless compression, making it ideal for logos, icons, screenshots, and images that require transparency. However, the quality slider has no effect on PNG output — to significantly reduce PNG file size, convert to WebP or resize the image dimensions.

WebP is the modern standard recommended by Google for web use. It supports both lossy and lossless compression, handles transparency like PNG, and typically produces files 25–35% smaller than equivalent JPEG or PNG at the same quality level.

Features

  • 5 quality presets — Max Quality, High, Balanced, Web Optimized, Aggressive
  • Custom quality slider from 10–100% for fine-grained control
  • Interactive before/after slider for visual comparison
  • Side-by-side comparison view with dimensions and file size
  • Batch processing — compress all images with one click
  • Download all compressed images as a single ZIP file
  • Format conversion — JPEG, PNG, WebP output
  • Resize by maximum width with automatic aspect ratio preservation
  • Copy compressed image to clipboard
  • Performance insights — Core Web Vitals impact, WebP recommendations
  • Drag-and-drop, file picker, paste (Ctrl+V), multi-file support
  • 100% private — all processing runs in your browser, zero server uploads

Frequently asked questions

How much can I reduce image file size?

Typical reductions are 40–80% for JPEG and WebP images, and 20–50% for PNG (through resizing or conversion to another format). Converting PNG to WebP often achieves 60–80% reduction with no visible quality loss. Results depend on image content, original quality settings, and your chosen compression level.

Are my images uploaded to a server?

No. All compression happens entirely in your browser using the Canvas API. Your images never leave your device and are never uploaded to any server. The tool works completely offline after the page loads.

Why is my compressed PNG not much smaller?

PNG uses lossless compression, so the quality slider does not affect PNG output file size. To significantly reduce a PNG file, either resize the image dimensions using the Max Width setting or convert it to WebP or JPEG format.

What quality setting should I use for web images?

The Web preset (65%) is recommended for most website images. For hero or product images, use High (85%). For thumbnails and secondary images, Balanced (75%) or Aggressive(45%) work well. Converting to WebP at 75% quality typically outperforms JPEG at 85% in both file size and visual quality.

How do I compress multiple images at once?

Select multiple files in the file picker (hold Ctrl or Shift to multi-select) or drag multiple files onto the upload area. Set your quality and format preferences, then click Compress All in the sidebar. Once complete, click Download ZIP to download all compressed images in one archive.

Does image compression affect Core Web Vitals?

Yes — LCP (Largest Contentful Paint) is directly impacted by image sizes. A hero image reduced from 500 KB to 80 KB can improve LCP by 300–600ms on mobile. Google recommends images under 200 KB for above-the-fold content. The Performance Insights panel estimates the load time improvement after each compression.

Can I convert PNG to WebP or JPEG?

Yes. Use the Format selector and choose WebP or JPEG before compressing. WebP is recommended for most web use cases — it supports transparency, achieves better compression than PNG and JPEG, and is supported by all modern browsers.

Related tools