Image Tools

Image Compressor

Compress JPG, PNG and WebP images by re-encoding as JPEG or WebP with adjustable quality. See the saving in a side-by-side preview. Files stay on your device.

  • 100% free
  • No sign-up
  • Private: runs on your device
  • Updated

Upload and adjust

Choose an image or drag and drop it here

PNG, JPEG or WebP · up to 12 MB · stays on your device

Your image stays on this device and is never uploaded.

Your result

Choose an image to see the before-and-after preview, new size and savings.

What is the Image Compressor?

Heavy images slow down websites and often bounce off upload limits on forms and email. This Image Compressor re-encodes a JPG, PNG or WebP image at its original dimensions using a quality level you choose, which usually produces a much lighter JPEG or WebP file. A side-by-side preview shows the original and the compressed result, and the result line gives the new file size in KB or MB with the percentage saved, so you can judge whether the saving is worth any loss in detail.

Drag a picture onto the upload area or pick it with the file chooser, set the quality, and download the result. Everything happens inside your browser tab, so the picture is never uploaded to a server. Compression is honest about its limits: a lower quality normally means fewer bytes, but an already well-optimised file can come out the same size or even larger, and the tool reports the real numbers, such as '% larger', rather than promising a fixed percentage.

How to use the Image Compressor

  1. Drop a PNG, JPEG or WebP onto the Image (PNG, JPEG, or WebP, up to 12 MB) field, or click it to browse for one.
  2. Leave Output format on JPEG for photos, or choose WebP or PNG.
  3. Set JPEG/WebP quality (1–100; ignored for PNG); 85 is the default, and 60–80 often gives a good balance for photos.
  4. For transparent images saved as JPEG, choose a colour in Background when flattening to JPEG.
  5. Click Convert image and compare the Original and Result previews, the new file size and the percentage smaller or larger.
  6. Click Download to save the compressed image, named after your original (photo.jpg becomes photo-compressed.jpg), or adjust the quality and process again.

Key features

  • Re-encodes images at their original pixel dimensions with a 1–100 quality setting for JPEG and WebP.
  • Lets you switch format while compressing, for example a heavy PNG or WebP to JPEG, or a JPEG to WebP.
  • Side-by-side Original and Result preview with the new file size in KB or MB and the % saved.
  • Removes EXIF and GPS metadata from the source as part of re-encoding.
  • Flattens transparency onto a background colour you pick when the output is JPEG.

Why use this image compressor

  • Fit photos under upload limits for applications, portals and email attachments.
  • Speed up your website and save mobile data for visitors.
  • Find the right quality level by eye before you download.
  • Compress private documents and photos without sending them to a third-party server.

How it works

Decode checked input, draw original-size pixels to canvas, and encode with quality/100 for JPEG or WebP; PNG ignores quality.

Image Compressor examples

1

Phone photo for an upload form

Input: IMG_2041.jpg, a JPEG photo from a phone camera; Output format JPEG, quality 70

Result: Result: the same width and height as the original, JPEG, with the new file size and how much smaller it is, depending on the photo. EXIF and GPS metadata are removed. Download: IMG_2041-compressed.jpg.

2

Large PNG screenshot to WebP

Input: screenshot.png, a large PNG screenshot; Output format WebP, quality 80 (in a browser that can encode WebP)

Result: Result: a WebP file of the same dimensions, usually much lighter than the PNG, with the exact percentage shown. Download: screenshot-compressed.webp.

Important notes before you rely on the result

  • Images are processed on your device and never uploaded. Keep your original file: re-encoding is permanent for the new copy.
  • JPEG has no transparency, so transparent areas are filled with the background colour you choose. Use PNG or WebP to keep transparency.
  • Location and camera metadata (EXIF/GPS) are removed from processed images, which is good for privacy when sharing online.

Image Compressor: frequently asked questions

How much smaller will my image get?

It depends on the picture. Detailed photos saved as PNG, or JPEGs straight from a camera, usually shrink a lot when re-encoded as JPEG or WebP at quality 60 to 80. Images that were already compressed may barely change or even grow. The preview shows the real original and new sizes, so you can lower the quality and try again if needed.

Why did quality have no effect on my PNG?

PNG is a lossless format, so the quality setting does not apply when PNG is chosen as the output, and the tool says so in the details under the result. Re-saving as PNG keeps every pixel but rarely reduces size much. For real savings choose JPEG or WebP; keep PNG only when you need sharp edges or transparency, such as for logos and interface graphics.

Does compression change the image dimensions?

No. The compressor keeps the same width and height and only changes how the pixels are encoded. If the file is still too heavy, reduce its dimensions first with the Image Resizer, because fewer pixels is often the biggest saving of all, then compress the result here.

Which image formats can I upload?

You can upload PNG, baseline or progressive JPEG, and still WebP files up to 12 MB. Each side can be at most 8,192 pixels and the whole image at most 16 megapixels. GIF, SVG, HEIC, animated PNG and animated WebP files are not accepted. The file is checked by its actual contents, not its name, so a renamed file of another type is rejected with a clear message.

Is my photo uploaded for compression?

No. Compression uses your browser's own canvas encoder, so the image never leaves your device and the download is generated locally. As a side effect, EXIF details such as GPS location and camera model are not copied into the new file, which is useful before sharing photos publicly.

Results are estimates for general information, not financial, medical, legal, tax, or property advice. Confirm important figures with the relevant institution or a qualified professional.