Image Compressor

Reduce an image file size by converting it to JPEG or WebP and adjusting output quality.

Set up your image

Choose an image, set the quality, and save a compressed copy.

Download and status

The converted file downloads when processing finishes. Check the status below for errors or completion.

How to use

  1. Select a photo, choose WebP or JPEG, then adjust quality and download the compressed copy.

How it works

The browser decodes the source and re-encodes it in the chosen format at your quality setting.

Choose WebP or JPEG

Use WebP when your website accepts it, especially for a source with transparent areas. Use JPEG when the destination requires it. Check a transparent source on a contrasting background after export.

Compare two quality levels

Try the default at the same format twice, changing only quality on the second run. Compare edges, small text, and gradients so you know how much visual detail the smaller file costs.

Formula or processing rules

Space saved (%) = (original bytes − output bytes) ÷ original bytes × 100.

Worked example

A hypothetical 500 KiB photo converted to 300 KiB saves 200 KiB, or 40%.

Values from the worked example.
Worked example values
MeasureValue (KiB)
Original500
Illustrative output300

Read the actual file sizes

If the input is 500 KiB and the output is 300 KiB, you saved 200 KiB. If it’s already an optimized image and the result is larger, keep the original or test lower quality.

Pros and cons

Pros

  • Lets you try different formats and quality settings.

Cons

  • Lower quality can soften details and an output can be larger.

Limitations and troubleshooting

Try WebP if transparency matters. Compare text and gradient detail before choosing the smallest file.

The result looks soft or exceeds the upload cap

Try higher quality if detail has suffered. If size is the priority, resize oversized photos before compressing and leave a margin below the destination’s limit.

Frequently asked questions

Which image formats can I compress?

The browser must be able to open the image. Common JPEG, PNG, GIF, and WebP files are usually supported; output is WebP or JPEG.

Why is my output file sometimes larger?

Very small or already-optimized images may not shrink further. Try the other output format or reduce the quality setting.

Can JPEG keep a transparent background?

No. JPEG does not support transparency. Transparent areas are filled by the browser when converting to JPEG; choose WebP if you need transparency and your browser supports it.

Can I guarantee an exact size?

The quality slider changes encoding. The resulting size depends on the image.

How should I compare two compression settings?

Use the same source image for both exports. Compare file sizes and inspect fine text or high-contrast edges at their intended display size.