Compress Image

Compress JPG, PNG, and WebP photos locally in your browser. Adjust quality, compare actual file sizes, and preview the result before downloading; savings vary by image.

In-Browser

Loading tool…

How It Works

Pexlii uses browser image decoders and canvas encoders, with a background worker when supported. Images are processed one at a time in local memory. JPEG and WebP quality can be adjusted; PNG uses lossless encoding and is not affected by the quality slider. If re-encoding in the original format at the original dimensions makes a file larger, Pexlii keeps the original, including its metadata. Re-encoded files may lose camera metadata and colour profiles. Savings depend on the source image.

🔒 Your files and entered content are processed on this device and are not uploaded by this tool. Pexlii also loads Google Analytics for usage measurement; tool events include the tool name, category, and action type, not your files or entered content.

How to Use Compress Image

1

Choose Photos, Camera (where supported), or Files. Preview your images and remove or replace any invalid files.

2

Choose quality. Open More options for format, maximum dimension or a single-image target size.

3

Tap Compress. You can cancel and keep images that have finished.

4

Save or share the successful results, or continue in another image tool without selecting the file again.

Key Capabilities

Preview images before compressing
Quality presets and an advanced options sheet
Single-image target size with an explicit best-effort result
Preserve the source format or explicitly choose JPEG or WebP
Per-file results, retry and ZIP downloads
Continue with Resize, Crop, Convert or Watermark

Application Scenarios

Speeding up website loading times
Email and chat attachment limits
E-commerce product photo optimization

Technical Constraints

•Still JPG, PNG and WebP only. HEIC, GIF and animated PNG/WebP are not supported.
•Up to 20 images, 40 MB per image and 120 MB per batch. Each image must be at most 24 megapixels and 8,192 pixels on either side.
•Target size is best effort for a single image. PNG quality is not adjustable.
•Files remain in memory during navigation in this tab. Reload or Reset clears the compressor session.

Frequently Asked Questions about Compress Image

JPEG and WebP use lossy encoding: lower quality can reduce file size but may change visible detail. Compare the original and result before saving. PNG uses lossless pixel encoding; the quality slider has no effect.

Related Tools

Frequently paired utilities.