Image compressor
Compress JPEG, PNG, WebP and AVIF images in your browser. No upload to any server. Drag and drop multiple files, adjust quality, download optimized images instantly.
Drop images here, click to browse, or Ctrl+V to paste
JPEG, PNG, WebP — unlimited files, unlimited size
What is Image Compressor?
An image compressor reduces the file size of images without significant loss of visual quality. Smaller images load faster on websites, improving page speed scores, Core Web Vitals (especially Largest Contentful Paint), and user experience. This free online image compressor processes everything in your browser using the Canvas API — your images are never uploaded to any server, making it completely private and fast. It supports JPEG, PNG, and WebP formats with adjustable quality from 10% to 100%. You can optionally set a maximum width to resize large images while maintaining aspect ratio. The tool handles batch processing, so you can compress dozens of images at once by dragging and dropping them. Each result shows the original size, compressed size, and percentage saved, with one-click download for individual images or the entire batch.
How to Use Image Compressor
- 1
Adjust quality and max width
Set the quality slider (default 80% works well for most images) and optionally set a max width in pixels to resize large images while preserving aspect ratio.
- 2
Drop or select images
Drag and drop one or multiple images onto the drop zone, or click to browse your files. The tool accepts JPEG, PNG, and WebP formats with no file size limit.
- 3
Download compressed images
Review the compression results showing original and new file sizes. Download images individually or click Download All to save the entire batch at once.
Features
- Compress JPEG, PNG, WebP and AVIF with adjustable quality slider
- Batch processing — drag and drop multiple images at once
- Optional max-width resize with aspect ratio preservation
- Zero server upload — all processing in your browser via Canvas API
- Real-time compression stats showing bytes saved and percentage
- Download individually or batch download all compressed images
Related Tools
Image Resizer
Resize images to exact pixel dimensions with aspect ratio lock and common size presets.
Image to Base64
Convert any image to Base64 string or data URI for embedding in HTML, CSS and JSON.
Image Format Converter
Convert between JPEG, PNG and WebP with adjustable quality. See file size comparison.
Favicon Generator
Generate all 9 favicon sizes from one image — ICO, Apple Touch, Android PWA icons.
Color Picker from Image
Extract HEX, RGB and HSL colors from any image. Click pixels to build color palettes.
Image Cropper
Crop images with preset ratios — 1:1, 16:9, 4:3, 3:2 and free-form. Pixel-precise controls.