Skip to content

Image Compressor

Re-encode JPG, PNG, and WebP images in the same format to shrink their file size. Adjust the quality value and maximum edge length to balance size against image quality.
Checking browser support
Verifying file selection and download support before starting.

Drop a file here or choose one

Supports files up to 25 MiB, 40 million pixels, and 16,384px per side.

Drop in a file, click convert, and you're done. Everything runs directly in your browser with no upload to wait for, and the result is ready to download right away.

Things to know

  • PNG is re-encoded losslessly, so the quality value doesn't apply.
  • If the compressed result isn't smaller than the original, you get the original file back unchanged.
  • Re-encoding strips metadata, including EXIF and GPS data.

How to use

  1. Choose an image

    Select a JPG, PNG, or WebP file up to 25 MiB.

  2. Set quality and size

    Adjust the quality value and, if needed, pick a maximum edge length (keep original, 1280, 1920, or 3840px).

  3. Compress and save

    Start the compression and download the file once it's verified.

Frequently asked questions

How much smaller will my file get?

It depends on the image content and your settings. Photos often shrink significantly at quality 80 with no noticeable loss, and lowering the maximum edge length shrinks them further.

Does the quality value compress PNGs too?

No. PNG is a lossless format, so the quality value doesn't apply and it's re-encoded losslessly. To shrink a PNG further, lower the maximum edge length or convert it to WebP.

Can compression ever make my file bigger?

Already-optimized files may not get smaller when re-encoded. In that case you get the original file back unchanged, so the result is never larger than the original.

When should I use the maximum edge length?

Use it when you don't need full resolution, such as for posting on the web. If the longer edge exceeds the value you pick, the image is scaled down proportionally; if it's smaller, the size is left unchanged.

Are my images sent anywhere?

No. Images are compressed right in your browser and never uploaded anywhere. Your files never leave your device.