HCODX/Image Compressor
Browser-only · Batch up to 50 files · Strips EXIF

Image Compressor

Shrink JPEG, PNG, and WebP images right in your browser. Set a target max width and quality, optionally convert formats, and download — singly or all at once. Nothing uploads.

Drop images here

Or click to choose multiple files. JPEG, PNG, WebP, HEIC up to ~50 MB each. Files stay on your device.

Choose images
Compression options
Output format
Quality
0.80
Max width (px)
Max file size (KB)
Files
0
Original total
0 B
Compressed total
0 B
Saved
0%
Use cases

When you'll reach for this

Web performance

Trim every JPEG by 50–80% before deploy. Smaller payloads, faster Largest Contentful Paint.

Email attachments

Drop a 10 MB photo under your provider's limit in one click.

Mobile uploads

Pre-shrink photos before posting to a CMS, marketplace, or app.

Batch processing

Drop a folder of 50 product photos and compress them in seconds — locally.

Step by step

How to compress images in your browser

1

Drop in images

Drag and drop, click to browse, or paste an image from your clipboard. Multi-select is supported.

2

Tweak the options

Pick an output format (or keep originals), set a quality (0.8 is a great default for photos), and a max width. You can also set a max file size — the tool iterates quality until it fits.

3

Compress & preview

Each card shows the original size, the compressed size, and the savings as a colored chip. Photos that don't compress further keep their original byte size.

4

Download

Click a single card's download icon, or "Download all" to save the whole batch (browsers may prompt for each file).

FAQ

Frequently asked questions

No. Compression runs entirely in your browser via Canvas and a Web Worker. The image bytes never leave your device.

JPEG, PNG, and WebP for both input and output. HEIC inputs are decoded into a Canvas (Safari does this natively) and re-encoded to your chosen format. AVIF output depends on your browser.

Yes. The Canvas re-encode drops EXIF, GPS, IPTC, and XMP. To confirm what was removed, run the original through our EXIF Viewer first.

You set a target quality between 0 and 1. 0.8 is the typical sweet spot for photographs. PNG output is lossless and ignores the quality value.

It can happen when re-encoding a heavily-compressed JPEG, or when converting a small PNG with few colors to JPEG. The card highlights this in yellow — keep the original in that case.

About

About browser-side image compression

This tool wraps a Canvas re-encode loop in a Web Worker so the main thread stays responsive while compressing large or many images. Internally it uses browser-image-compression, which gives you per-file controls and a max-size iterator.

What gets stripped

  • EXIF (camera, settings, sometimes GPS)
  • IPTC and XMP editorial blocks
  • Embedded thumbnails (often hundreds of KB on their own)
  • ICC profiles (most browsers fall back to sRGB safely)

Tips for the best ratio

  • Photos: WebP at quality 0.75–0.85 is usually 30–50% smaller than equivalent JPEG.
  • Screenshots / UI: keep PNG; consider WebP-lossless if your browser supports it.
  • Hero images: cap max width at 1920–2560px — beyond that is rarely visible.
Related

Related tools