HCODX / Image Compressor
100% Browser-only · Batch up to 50 files

Image Compressor: shrink JPG, PNG, WebP and HEIC in your browser

Compress JPEG, PNG, WebP and HEIC photos by 50–80% — privately, on your device. Set quality, max width and output format. Side-by-side compare before you save, batch up to 50 files.

No upload No signup EXIF stripped Works offline

Drop images to compress

Drag & drop, paste from clipboard, or browse — up to 50 files at once, ~50 MB each. Nothing uploads.

Choose images or press Ctrl+V to paste
JPEGPNGWebPHEICAVIFBMP
Preset
Compression options
Output format
Quality 0.80
Eco Balanced High
Max width pixels
Target size KB (0 = off)

Your queue is empty

Drop images above to get started — they stay on your device.

Files
0
none added
Original
0 B
total input
Compressed
0 B
total output
You saved
0%
across the batch
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

Pick a preset or tweak options

Hit a preset like Web optimized, or set output format, quality (0.8 is the sweet spot), and max width. You can also set a target file size — the tool iterates quality until it fits.

3

Compress & compare

Each card shows original size, compressed size, and savings. Click a thumbnail to open the side-by-side comparison slider.

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