Skip to content

Compress image

Re-encode PNG, JPEG, or static WebP with format and quality controls. Compare actual input and output sizes.

Choose your image

Choose a file to get started, or drag and drop it here.

PNG, JPG, WEBP · Up to 20 MiB and 24 megapixels
Processed on your device

How it works & supported files

Choose a format and quality

JPEG and WebP use lossy quality controls. PNG ignores the quality setting and uses lossless encoding. Compare the original and result sizes; compression does not guarantee a smaller file.

Static images, processed on your device

Supports static PNG, 8-bit grayscale/RGB JPEG, and static WebP as listed by this tool. Animation, SVG, HEIC, AVIF, and CMYK JPEG are not supported. EXIF orientation is applied before editing. Re-encoding removes source metadata and color profiles, can change colors, and reduces high-bit-depth images to browser canvas output. JPEG and WebP output may change pixels. For transparency, choose PNG or WebP. Outputs are limited to 100 MiB.

About this tool

Compress image re-encodes a PNG, JPEG, or static WebP at a chosen quality and shows the actual input and output sizes so you can judge the tradeoff. It is the practical way to shrink a photo for a website or an upload limit.

The image is decoded and re-encoded locally in your browser; nothing is uploaded. Re-encoding removes source metadata and color profiles, which is often desirable for privacy but does change the file.

How to use it

  1. Choose the image you want to compress.
  2. Select the output format and quality level.
  3. Compare the reported input and output sizes.
  4. Download the compressed image and check it at full size.

Choosing format and quality

  • Photos: JPEG or WebP at quality 75–85 usually looks the same as the original at a fraction of the size. Below about 60, blockiness and colour banding start to show.
  • Screenshots, diagrams, and logos with flat colours and sharp edges: PNG, which is lossless. JPEG creates visible halos around text.
  • Anything that needs transparency: PNG or WebP. JPEG has no alpha channel.

WebP is typically 25–35% smaller than JPEG at similar visual quality, and every current browser supports it. Keep a JPEG copy for older software, email, and print services that may not accept WebP.

Why a result can be larger

Compression re-encodes the pixels. A JPEG that was already saved at low quality has little left to remove, and re-encoding it at quality 90 can produce a bigger file than the original. Converting a photo to PNG almost always makes it much larger. The tool shows the real input and output sizes, so you can keep whichever is better.

For the biggest savings on photos from a phone or camera, resize first. A 12-megapixel photo is 4000 × 3000 pixels, far more than a web page or email needs. Reducing it to 1600 pixels wide cuts the pixel count by 84% before compression even starts.

Frequently asked questions

Why did a PNG get larger in some cases?

PNG compression does not use a quality setting the way JPEG does. For photographic content, converting to JPEG or WebP usually reduces size more than compressing the PNG.

Is the original file changed?

No. You download a new file; the original on your device stays as it was.

What are the limits?

One image up to 20 MiB and 24 megapixels, with a 100 MiB output bound.

Does compressing remove metadata?

Re-encoding in the browser does not copy EXIF, GPS, or other source metadata into the output. Use the remove image metadata tool when removing it is the goal, since it states exactly what is dropped.