About this tool

Why it exists.

Most image tools ask you to upload private photos to a server, wait in a queue and then download a compressed copy. This one uses the canvas API in your browser. The file is read locally, re-encoded locally and never transmitted.

Choose an output format and quality, optionally cap the width, and compare the original and compressed file sizes before downloading. Re-encoding also removes metadata such as camera details and location EXIF, which is useful for photos headed to the web. A smaller file is not automatically better; inspect the result before publishing.

How to use it.

  1. Drop a JPG, PNG or WebP file onto the page.
  2. Set a maximum width, output format and quality.
  3. Compare the savings, then download the compressed image.

Good questions.

Are my images uploaded anywhere?

No. Files are handled by your browser and never leave your device. The trade-off is that very large images depend on your device's memory and may take a moment to process.

Does compression remove EXIF metadata?

Yes, usually. Re-encoding through a canvas creates a fresh image without most embedded metadata, including GPS location. This is good for privacy, but if you need to preserve copyright or color-profile metadata, keep the original.

Which format should I choose?

WebP is a strong default for web images: small files and broad support. JPEG is safe for photographs when compatibility is critical. PNG is best for graphics with transparency, though photographic PNGs are usually much larger.

Why did my compressed PNG get larger?

Canvas PNG encoding is not always as efficient as the original compressor, especially for screenshots with large flat areas or images that were already optimized. Try WebP or JPEG for photographs, or keep the PNG if it is smaller.