Image Compressor & Format Converter (WebP / PNG / JPEG)

Compress, resize, and convert PNG, JPEG, and WebP images locally in your browser with live file-size savings before uploading.

Image Compressor & Format Converter

Resize and compress PNG, JPEG, or WebP images directly in your browser using HTML5 Canvas. Check real-time file-size savings and download optimized files without uploading images to a server.

Original Size—No image loaded
Output Size——
Size Change—Adjust format, quality, or width

Original

Original image previewOriginal preview

Compressed Output

Compressed output previewOutput preview

How to Compress & Convert Images

  1. Select or Drop an Image: Choose a JPEG, PNG, or WebP file from your device. Original dimensions and file size appear immediately.
  2. Choose Output Format, Quality & Max Width:
    • WebP / JPEG: Adjust the Quality slider (typically 0.70–0.85) for strong compression with minimal visual loss.
    • PNG: Uses lossless Canvas export—reducing pixel dimensions via Max Width is the main way to shrink PNG file size.
    • Max Width (px): Set a cap (such as 1200 or 1600) or leave at 0 to keep original width while preserving aspect ratio.
  3. Compare Size & Download: Review the Savings badge and preview the output image, then click Download Image.

More Tools