Skip to main content

Image Tools

Image Compressor

Re-encode one JPG, PNG, or WebP image. Choose the output format and maximum width, then check the preview and file size.

See how to use this tool

Image Compressor

Images are processed locally in your browser without server upload.

About Image Compressor

The compressor draws your image onto a browser canvas and exports a new copy. A maximum width reduces the number of pixels while preserving the aspect ratio. The quality slider affects JPG and WebP encoding. PNG output uses lossless encoding, so lowering the slider has no effect on it.

How to use it

  1. 1Choose one JPG, PNG, or WebP image. Its original dimensions and size appear next to the preview.
  2. 2Choose an output format, then set the quality and maximum width. Clear Max width to keep the original width.
  3. 3Click Compress image, compare the size and detail, then select Download image. If the result is too large, try a lower quality or smaller width.

When to use it

  • ✓For a form with a 500 KB JPG limit, try 1,200 px and 80% quality for a photo. Check the actual download size and the legibility of fine detail before submitting.

Related tools

FAQ

How do I keep a transparent background?

Export as PNG or WebP. JPG fills transparent areas with white in this tool.

Why did the output get larger?

The source may already be well compressed. A different format or a high quality setting can increase the size. Compare the actual sizes shown for the source and result.

How large a file can I try?

The workspace recommends one image under 50 MB. Very large pixel dimensions can exhaust browser memory even when the file itself is small.