Compress image

Adjust image quality and export as JPG or WebP.

Maximum 25 MB and 40 megapixels. Each dimension supports up to 16,384 px. Everything is processed in your browser.

Reprocessing can change metadata and color profiles. JPG does not preserve transparency: a white background is used. PNG and WebP support transparency.

Your files are processed here, on your device

We do not send your file or text contents to a processing server. No account is needed and there is no daily operation quota. Individual tools have size limits to protect your device’s memory.

A connection is needed to load the site and its resources. Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.

How we handle your data →

How to use this tool

  1. Load an image and choose JPG or WebP output.
  2. Adjust quality and compare the preview with the original.
  3. Check actual download size and detail before replacing your copy.

An example you can verify

Try a lighter export for sharing a photo.

Example input

JPG photo; WebP output; quality 70.

Expected result

A WebP copy with size and preview for comparison.

Try these files containing fictitious data:

Download sample · image-400x200.png

No savings percentage is guaranteed. Check lettering and edges; an optimized original may produce a larger file.

Compress image: uses and practical guidance

Compressing an image balances file size and quality for a web page, email or upload with a byte limit. The tool exports JPG or WebP at a selected quality setting. That setting is a control for the encoder, not an exact percentage of retained detail or a guaranteed size reduction. Two images with identical dimensions can respond differently to the same value because their visual content and existing compression differ.

Start with a moderate setting and compare difficult regions such as hair, foliage, gradients and small lettering. Excessive reduction may introduce blocks, halos or missing texture. A small preview can conceal those defects, so inspect at the intended display size. If the destination only needs a thumbnail, reducing pixel dimensions as well may be more effective than demanding the entire size reduction from the compression setting alone.

An already optimized source can produce a larger output. The actual byte difference is therefore more useful than assuming another export always improves size. A transparent PNG may require a different format decision; converting it to JPG changes its background. Preserve the properties your publication needs and confirm that the destination supports WebP before selecting it for a smaller result. File compatibility matters alongside the number of bytes saved.

Open the download and review its detail, dimensions and size. Choose a version meeting the upload limit with reasonable room if the receiving form measures size differently. Avoid repeatedly compressing the same JPG, since each export can accumulate loss. Return to the source when testing new settings. Resize image addresses a required pixel dimension before the final compression step, keeping the sizing decision separate from the quality tradeoff.

A practical check before using the result

A practical comparison retains two exports with different settings and displays them at final size. Inspect textured detail and lettering before choosing the lighter file. If both meet the limit, select the one preserving enough information for readers. Verify the chosen download and compatibility before replacing any source. Across a photo collection, do not extrapolate a setting solely from one simple scene; other images may require different quality. Record actual before and after sizes to assess the change. Useful quality depends on the details that must be shown, rather than only the control’s numeric value. A smaller file is beneficial when it still serves the intended visual purpose.

Continue your task

Download the result or copy the text before opening another tool. Then load or paste it into the next step; content is not transferred automatically.

Prepare an image for the web

Set the crop and dimensions before reducing file size.

  1. Crop the image
  2. Set its dimensions
  3. Compress the imageHere

Choose WebP when compressing a transparent image. JPG uses a white background.

Settings and limits

Choose JPG or WebP and a quality from 1 to 100. Try lower values to reduce size while checking the preview. The file may grow if the original was already efficiently compressed.

Frequently asked questions

Does compression always make a file smaller?

No. It depends on format, content and previous compression. Output size and its difference from the original are displayed.

Guides