Image Tools

Image Compressor

Compress JPEG, PNG, and WebP images client-side while preserving visual clarity.

Compression
Drop images here or click to choose (several at once)Files never leave your device. Processed 100% locally.

About this tool

Images are usually the heaviest part of a web page and the main reason attachments bounce. A photo straight from a phone camera is 3–8 MB; the same photo displayed on a website rarely needs more than 200 KB. Compressing images makes pages load faster, improves Core Web Vitals scores, saves mobile data and keeps emails under size limits.

This compressor re-encodes images in your browser. Choose a quality, or set a maximum file size and let the tool find the best quality that fits. Convert to WebP or AVIF for much smaller files at the same visual quality, limit the longest side for web use, and process many images at once with a before-and-after comparison. Photos are never uploaded.

How to use Image Compressor

  1. Drop one or more images (JPEG, PNG, WebP, AVIF and more) onto the upload area.
  2. Choose an output format. "Same as original" keeps the format; WebP is the best general choice for websites and is supported by all modern browsers.
  3. Pick a compression mode: by quality (75–85% is a good balance for photos) or by target size, for example under 200 KB for an upload form.
  4. Optionally limit the longest side. A 4000-pixel photo shown at 1200 pixels wastes most of its bytes, so resizing often saves more than quality settings do.
  5. Drag the slider on the preview to compare before and after, then download individual images or all of them as a ZIP.

Examples

Phone photo for a website

Input
IMG_2041.jpg, 4032×3024, 4.1 MB → WebP, quality 80%, longest side 1920
Result
IMG_2041-min.webp, 1920×1440, about 250 KB (−94%)

Meet an upload limit

Input
scan.jpg, 2.3 MB → Target size: 500 KB
Result
scan-min.jpg, 487 KB at quality 71%

The tool searches for the highest quality that stays under the limit.

Choosing the right format

  • JPEG: universal, good for photos, no transparency. Quality 75–85% is visually close to the original.
  • WebP: 25–35% smaller than JPEG at similar quality, supports transparency, works in every modern browser.
  • AVIF: often 50% smaller than JPEG with excellent detail; supported by current browsers, but encoding is not available in every browser (the option is disabled when yours cannot create AVIF).
  • PNG: lossless; ideal for screenshots, logos and graphics with sharp edges or text, but large for photos. Quality settings do not affect PNG; convert to WebP to shrink it.

Why a compressed image can get bigger

If an image is already well compressed, re-encoding it at a higher quality, or as PNG, can produce a larger file. With "Keep the original when compression would make it larger" on, the tool returns the original untouched in that case. Re-encoding also removes EXIF metadata such as camera details and GPS location, which is good for privacy.

Frequently asked questions

Everything you need to know about this tool and data security.

What quality setting should I use?

For photos on websites, 75–85% in JPEG or WebP is hard to tell apart from the original. Below about 60% you start to see blocky artifacts around edges and in skies.

Is the location data removed from my photos?

Yes. Images are redrawn on a canvas and re-encoded, which drops EXIF metadata, including GPS coordinates and camera information. Photos are rotated correctly before the metadata is removed.

Can I compress many images at once?

Yes. Drop as many as you like; all are processed with the same settings and can be downloaded together as a ZIP.

Are my images uploaded?

No. Compression runs in your browser using the Canvas API. Your images never leave your device.

Is my data safe when using this tool?

Yes, 100% safe. This tool operates entirely inside your web browser using client-side JavaScript and WebAssembly. Your data never touches any external server.