🗜️ Image Compressor

Compress JPG, PNG and WebP images with batch support, target file size and automatic metadata removal — all in your browser, no uploads needed.

Drop images here or click to upload

JPG, PNG, WebP supported · Multiple files · Batch ready

All compression happens in your browser — your files never leave your device
Need to compress to a specific file size?

About This Image Compressor

What is an Image Compressor?

An image compressor reduces the file size of JPG, PNG and WebP images by optimising pixel data and removing unnecessary metadata — without visible quality loss. This image compressor processes files in your browser, supports batch compression with per-image control and automatically strips EXIF location data from every file.

This image compressor is a professional-grade tool that goes beyond a simple quality slider. Upload one image or an entire batch, switch between Auto and Manual modes, and set an exact target file size in KB or MB — the tool runs a binary search across quality levels to hit your target precisely. Every operation runs client-side using the browser-image-compression library and the HTML5 Canvas API, so no file ever reaches an external server.

Batch compression with per-image control is the standout feature of this image compressor. Most online tools apply one quality setting across the entire batch. Here, each image in the batch can have its own quality override — compress a large hero image at 60% while keeping product thumbnails at 85%, all in a single pass. The result cards show before/after thumbnails, exact file sizes and reduction percentages so you can verify quality before downloading.

The image compressor also automatically strips EXIF metadata from every file. EXIF data embedded in JPEG photos typically includes GPS coordinates, camera make and model, lens specifications, shutter speed, aperture and timestamps. Stripping this data before sharing images online protects your privacy and slightly reduces file size — both benefits without any extra step on your part.

Images account for approximately 21% of a typical webpage's total byte weight — optimising them is the single highest-impact performance improvement for most sites. (Source: HTTP Archive, Web Almanac)

This image compressor uses binary search quality optimisation via the maxSizeMB parameter — iterating up to ten quality levels client-side to hit your exact target, entirely without any server involvement.

How to Use This Image Compressor

How the Image Compressor Works

  1. Upload one or multiple images using the upload area above or drag and drop them directly into the zone
  2. Choose Auto mode for smart automatic compression or Manual mode for precise quality control
  3. Set a target file size in KB or MB if you need to hit a specific size limit — leave empty for ~80% quality compression
  4. Toggle per-image quality override for any image in the batch that needs individual settings different from the global mode
  5. Click Compress All, then download images individually or as a single ZIP archive

Use Auto mode when you want the fastest result with no technical decisions — the image compressor chooses the optimal quality setting for each file. If you set a target size (for example, 100 KB for a CMS upload limit), Auto mode runs a binary search to find the exact quality level that produces a file at or near that size.

Use Manual mode when you need predictable, consistent quality across images — particularly useful for product photography where uniform appearance matters more than hitting a size target. Manual mode also lets you resize images by maximum pixel dimension and convert between formats in the same pass.

Who Uses an Image Compressor

An image compressor is one of the most universally useful web tools — nearly every team that publishes images online reaches for one regularly. These are the groups that use this free image compressor most:

  • Web developers optimise images before deployment to improve page speed scores and Core Web Vitals metrics, directly affecting search ranking and user experience
  • Bloggers and content creators compress featured images and inline photos before uploading to WordPress, Ghost or other CMS platforms that have upload size limits
  • E-commerce teams batch-compress product images to reduce page load times without sacrificing visual quality that drives purchase decisions
  • Social media managers resize and compress images to stay within platform file size limits — Instagram, LinkedIn and Twitter each impose limits that can degrade quality if not handled correctly

Explore all our Image Tools for resizing, converting, cropping and extracting metadata from images.

Frequently Asked Questions

An image compressor is a tool that reduces the file size of images by removing redundant pixel data and optional metadata. This image compressor operates entirely in your browser using the Canvas API, so your files are never uploaded to any server. It supports JPG, PNG, WebP and GIF formats with both automatic and manual quality control.

Lossy image compression (JPG, WebP) reduces file size by discarding pixel data that is less perceptible to the human eye — colour variations in smooth gradients, fine texture detail in backgrounds. A quality setting of 80% retains most visible detail while removing 60–80% of file size. Lossless compression (PNG) reorganises pixel data without discarding any, which is best for graphics with flat colours and sharp edges like logos and icons.

Lossy compression (JPG and WebP) does discard some image data, but at quality settings of 75–85% the difference is rarely visible to the naked eye on screen. PNG uses lossless compression so quality is never reduced regardless of settings. Use the before/after thumbnail preview in each result card to compare quality before downloading — if it looks acceptable, the file is ready.

This image compressor accepts JPG, JPEG, PNG, WebP and GIF files as input. In Manual mode you can also select an output format different from the input — compress a PNG and output as WebP for maximum compression, or convert a WebP to JPG for broader compatibility.

Yes. Select multiple files at once using your file browser or drag a batch into the upload area. Each image is compressed individually and you can download them separately or all together as a ZIP archive. Each image in the batch can also have its own quality override toggle — a feature not available in most batch image compressors.

EXIF metadata in JPG photos typically includes GPS coordinates (latitude/longitude of where the photo was taken), camera make and model, lens information, shutter speed, aperture, ISO, and the date and time the photo was captured. All of this is automatically stripped during compression because re-encoding through the browser Canvas API does not preserve EXIF data. The strip metadata option is enabled by default.

In Auto mode, enter your target size in the Target Size field (in KB or MB) before clicking Compress All. This image compressor uses a binary search algorithm to find the optimal quality setting that produces a file at or near your target. The result card shows both the target and the achieved size. For very small targets (under 20 KB) you can also use the dedicated size-specific pages linked in the target size pills below the tool.