All tools run in your browser — your files never leave your device.
All tools154

Image & Photo

Image Compressor

Shrink JPG, PNG and WebP with a quality slider and live size readout.

What it does. An image compressor reduces a photo’s file size by re-encoding it at a lower quality setting or in a more efficient format. This tool does that with the browser’s own encoder, so a 4 MB JPEG typically drops to around 380 KB at quality 0.8 with no visible loss. Your photo is never uploaded.
Runs in your browserNothing uploadsNo signupWorks offline

How to use Image Compressor

  1. Drop one or more images onto the panel, or click to browse. HEIC, JPG, PNG, WebP and AVIF are all accepted.
  2. Drag the quality slider and watch the output size update live in the before/after view.
  3. Download the compressed image, or download all of them as a ZIP.

How much can I compress an image without losing quality?

For photographs, quality 0.80 is the practical floor before artifacts become visible at 100% zoom. That setting typically produces a file 88–92% smaller than the camera original.

Here is what that looks like on a real 4032×3024 iPhone photo, 4.1 MB as shot:

How much can I compress an image without losing quality?
QualityOutput sizeReductionVisible difference
1.003.6 MB12%None — near-lossless re-encode
0.921.1 MB73%None at any zoom
0.80382 KB91%None at 100%; slight softening at 400%
0.70256 KB94%Faint ringing on high-contrast edges
0.60188 KB95%Visible blocking in skies and gradients
0.40118 KB97%Obvious artifacts — thumbnails only

The exception is any image with hard edges — screenshots, logos, text, line art, charts. JPEG compression works by discarding high-frequency detail, and hard edges are entirely high-frequency information. Compress a screenshot as JPEG at 0.8 and the text develops a visible halo. Use PNG or WebP for those.

Which format should I use?

Format choice usually saves more bytes than quality tuning does. WebP at the same perceptual quality is 25–34% smaller than JPEG; AVIF is another 20% smaller than WebP.

Which format should I use?
FormatBest forTransparencyBrowser support (2026)Typical saving vs JPEG
JPEGPhotographs, universal fallbackNo100%baseline
WebPEverything on the webYes~97%25–34% smaller
AVIFPhotos where size matters mostYes~93%45–55% smaller
PNGScreenshots, logos, line artYes100%larger for photos
SVGIcons, logos, diagramsYes100%n/a — vector

The safe 2026 default for a website is WebP with a JPEG fallback via <picture>. AVIF is worth it for hero images where the byte saving justifies the encode time, but it encodes far more slowly and Safari support only stabilized recently.

What does this tool actually do to my image?

It decodes the image into an ImageBitmap, draws it onto an OffscreenCanvas, and calls canvas.convertToBlob() with your chosen format and quality. That routes into the same C++ encoder your browser uses to save images — libjpeg-turbo for JPEG, libwebp for WebP — so the output is byte-for-byte comparable to what a desktop tool produces.

Two consequences follow from that. First, the work happens in a Web Worker, so the interface stays responsive while a 50 MP image encodes. Second, EXIF metadata — including GPS coordinates — is stripped, because canvas re-encoding does not carry it over. That is usually what you want before posting a photo publicly, and it is worth knowing if you needed the metadata kept.

Why does compressing a PNG sometimes make it bigger?

Because PNG is lossless, and re-encoding an already-optimized PNG can only add overhead. If you feed a PNG through a canvas and export it as PNG again, you get the same pixels with a possibly less efficient filter selection.

The fix is to change format rather than quality. A screenshot saved as PNG at 800 KB usually lands around 120 KB as lossless WebP, with pixel-identical output. This tool flags that case and suggests the format switch when the PNG output would exceed the input.

Is there a file size limit?

No server-imposed one. The constraint is your device’s memory, since the image has to be decoded to raw RGBA before it can be re-encoded — a 100 MP image needs roughly 400 MB of RAM while it is being processed.

In practice that means images up to about 60–80 megapixels are comfortable on a modern laptop, and around 25 megapixels on a mid-range phone. By comparison, the free tiers of the major upload-based compressors cap at 5 MB per file and 20 files per hour.

Frequently asked questions

Does compressing an image reduce its dimensions?

No. Compression changes how the pixels are encoded, not how many there are. To change dimensions, use the Image Resizer — and note that resizing usually saves far more bytes than compression does, because file size scales with pixel count.

Is the compression lossy or lossless?

Both are available. JPEG and WebP quality below 1.0 are lossy. PNG and WebP at quality 1.0 are lossless. The slider is disabled when you pick a lossless output format.

Will it strip my EXIF and GPS data?

Yes, as a side effect of canvas re-encoding. That removes location, camera model and timestamp. If you need EXIF preserved, this tool is not the right one.

Can I compress multiple images at once?

Yes. Drop as many as you like; each is processed in sequence in a worker with its own progress bar, and you can download the whole batch as a ZIP.

Does it work with HEIC photos from an iPhone?

On Safari and modern Chrome, yes — the browser decodes HEIC natively and this tool re-encodes to your chosen format. On browsers without HEIC decode support you will get an error, and the workaround is to export as JPEG from Photos first.

What quality should I use for a website?

0.80 for photographs in article bodies, 0.85 for hero images, 0.75 for thumbnails. Below 0.70 the artifacts become visible on any screen with decent contrast.

Is my photo uploaded anywhere?

No. Open the Network tab and compress a file — no request appears. The image is read with the File API and processed by your own CPU and GPU.

Guides for Image Compressor