Handy Web Tools

Free browser tools with no sign-up

FREE TOOL

Image Compressor & Resizer

Compress JPEG, PNG, and WebP images locally while resizing them with the original aspect ratio.

Loading tool…

About Image Compressor & Resizer

Resize and re-encode an image while keeping its aspect ratio. Compare the original and result dimensions and file sizes without uploading the image or file name.

How to use

  1. 1.Choose one JPEG, PNG, or WebP image.
  2. 2.Set the output dimensions, format, and JPEG or WebP quality.
  3. 3.Review the result dimensions and size, then download the new image.

Useful for

  • Reducing photos for upload limits
  • Optimizing JPEG and WebP images for websites
  • Resizing an image without changing its aspect ratio

Verified examples and scope

These examples describe reproducible behavior in this tool. They are not a guarantee for inputs outside the documented scope.

Input or settingExpected resultCondition
800×600 image with output width 400Output dimensions set to 400×300The dimensions are rounded from the source aspect ratio.
PNG outputThe quality slider is disabled and a PNG Blob is createdNo quality argument is passed to canvas.toBlob for PNG.

Known limitations

  • Input is limited to JPEG, PNG, or WebP at up to 10 MiB, and dimensions cannot be enlarged.
  • Re-encoding does not always reduce size, and browser codecs can produce different results.

If the result is unexpected

  • If output is larger, reduce its dimensions or lower JPEG/WebP quality.

How it works

The browser decodes the image, draws it to Canvas at the requested dimensions, and re-encodes a JPEG, PNG, or WebP Blob.

Images, filenames, dimensions, quality settings, and output Blobs remain on the device.

Input examples

  • Resize a phone photo to 1920 pixels or less
  • Convert a JPEG to WebP for a lighter website image

Notes and limitations

  • Transparent areas become white in JPEG output. Choose PNG or WebP to preserve transparency.
  • Files are limited to 10 MiB and 32 megapixels. Very large images may be rejected to protect device memory.

Frequently asked questions

Is my image uploaded?

No. Loading, resizing, compression, and download all happen locally in your browser.

Which image formats are supported?

The first version supports JPEG, PNG, and WebP. HEIC, SVG, GIF, and AVIF are not supported.

Can I adjust PNG quality?

The quality slider is not used for PNG output. For photographs, try JPEG or WebP when a smaller file is needed.

Can the result be larger than the original?

Yes. PNG conversion and high quality settings can increase the file size, and the tool shows a warning when that happens.