Free online tool

Image compressor

Compress JPG, PNG and WebP images with adjustable quality or a target file size.

Full capability guide

Compression controls and output evidence

Choose quality or a maximum file size, then inspect and reprocess individual results before keeping them.

01

Quality mode

JPEG, WebP and palette-based PNG compression with presets and exact manual control.

02

Target-size mode

Searches for the highest quality under a KB limit and can reduce dimensions only when encoding quality is not enough.

03

Before and after

Compare pixels, dimensions, file size, encoding setting and whether the requested target was reached.

04

Batch and individual control

Process 20 files, cancel multi-pass searches, retry failures, change controls and reprocess one result, or download a ZIP.

More image tools

How to compress an image

  1. Add JPG, PNG or WebP files to the desk.
  2. Choose WebP or JPEG, then adjust quality or enter a target size.
  3. Select Compress & download. Batches are packaged as a ZIP.

What the compressor changes

Compression re-encodes visible pixels or reduces the PNG palette. Quality mode keeps the original dimensions; target-size mode can reduce dimensions only when auto-resize is enabled and quality alone is not enough. The result panel shows the exact output setting, dimensions and file-size change.

Use WebP for modern websites and transparent graphics. Choose JPEG for photographs that must open in older software. If an upload form also requires exact dimensions, resize the image before applying the final compression target.

WebP or JPEG?

FormatBest forTransparency
WebPModern websites and smallest filesSupported
JPEGPhotos and maximum compatibilityNot supported

Image compression FAQ

Are images uploaded for compression?

No. Compression runs locally in your browser.

Can I compress to a target size?

Yes. Enter a target in kilobytes and AIPics searches for the highest available quality under that limit.

Why can a very small target be missed?

Quality reduction has a limit. A large image may also need smaller pixel dimensions to reach an unusually low file size.

Does compression change image dimensions?

Quality mode preserves width and height. Target-size mode changes dimensions only when auto-resize is enabled and quality alone cannot reach the limit.