ToolCozy
JSON Format / DiffHOTBase64 CodecHOTURL CodecNEWTimestamp ConverterNEWUUID GeneratorHash CalculatorJWT DecoderQR Code GeneratorUnit ConverterNumber BaseData ConverterSQL FormatterIP Lookup
Image CompressHOTColor ConverterImage ConvertImage CropNEWApp Store ScreenshotNEW
Regex TesterNEWWord CounterText DiffMarkdown Preview

More Products

Playbit Games

Free online HTML5 games — play instantly in your browser

Kaola Screenshot

App Store screenshot generator with device frames & templates

Pillease

Simple pill reminder app — never miss a dose again

© 2026 ToolCozy·Privacy·Feedback

Image Compress

Compress JPG/PNG/WebP images with quality adjustment, batch support

Drop images or ZIP here, or click to select

Supports JPG, PNG, WebP and ZIP archives. Multiple files allowed

About this tool

Image compression reduces file size for faster page loads, lower bandwidth bills, and smaller email attachments. This tool compresses JPEG, PNG, and WebP images in your browser — supports batch processing, custom quality, optional resize, and format conversion (JPEG ↔ PNG ↔ WebP).

Compression uses native browser APIs for JPEG/WebP and a quantization-based encoder (UPNG.js) for PNG. Files never leave your device — no upload, no server, no analytics on the file contents. Output is downloadable per-image or as a single ZIP for batches.

How to use

Compress one or more images

  1. Drop image files onto the dropzone, or click to pick from your device. JPEG, PNG, and WebP are accepted; multiple files at once is fine.
  2. Adjust quality (1-100) — lower means smaller file, more visible artifacts. 70-85 is a good balance for photos.
  3. Optionally set a max width or height to downscale large images. Aspect ratio is preserved.
  4. Pick output format: keep original, or convert to JPEG / PNG / WebP. WebP usually compresses ~30% better than JPEG at similar quality.
  5. Click Download per image, or Download All to grab everything as a ZIP.

Tips for best results

  1. For photos, use JPEG or WebP at quality 75-85 — visually lossless on most screens.
  2. For screenshots, UI mockups, or images with sharp edges and flat color, use PNG or WebP — JPEG will smear text and lines.
  3. If you need transparency, only PNG and WebP support an alpha channel; JPEG will fill it with white.
  4. Resizing dramatically reduces file size. A 4000×3000 photo downscaled to 1920px wide often shrinks 4-5× before quality loss matters.

Examples

Photo compression (JPEG → JPEG, quality 80)

Input
IMG_2451.jpg
Size:  4.2 MB
Dims:  4032 × 3024
Type:  image/jpeg
Output
IMG_2451.jpg
Size:  480 KB  (-89%)
Dims:  4032 × 3024
Type:  image/jpeg, q=80

Format conversion + resize (PNG → WebP, max 1920px)

Input
screenshot.png
Size:  2.8 MB
Dims:  3840 × 2160
Type:  image/png
Output
screenshot.webp
Size:  165 KB  (-94%)
Dims:  1920 × 1080
Type:  image/webp, q=85
Frequently asked questions
Are my images uploaded to a server?

No. All compression, resizing, and format conversion happens in your browser using Web APIs. You can verify this by opening DevTools → Network and watching that no upload requests are made.

What's the maximum file size or count?

There's no hard limit, but each image is decoded into memory. Modern desktops handle 20-50 large images comfortably; mobile browsers may struggle past 5-10 high-resolution photos. Compress in smaller batches if your browser slows down.

Why is PNG compression slower than JPEG?

PNG uses lossless or near-lossless quantization (UPNG.js), which has to analyze color palettes and write each pixel exactly. JPEG uses a much faster lossy DCT codec built into the browser. Expect PNG to take 2-5× longer for the same image.

Will the output have the same EXIF / metadata?

No. The browser-side encoders strip EXIF (camera info, GPS, orientation, etc.) when re-encoding. This is good for privacy but means rotation tags are baked into the actual pixels — orientation is preserved visually but not as metadata.

When should I use WebP instead of JPEG or PNG?

WebP is supported by all modern browsers and produces files ~25-35% smaller than JPEG at the same visual quality, with optional transparency. Use it for web delivery. Stick with JPEG/PNG only if you need compatibility with very old software or specific tools that don't accept WebP.