Resize, compress and convert images between PNG, JPEG and WebP locally in your browser.
Loading tool
About Image Compressor & Converter
Compress, resize and convert images to WebP, JPEG, PNG, or AVIF when your browser can encode it. Input can be PNG, JPEG, WebP, GIF (first frame), SVG, and AVIF or HEIC where the browser can decode them. You can set quality, a background color for transparent areas in JPEG, and resize by maximum width/height or percentage, then compare sizes and download each file or all at once. Images are processed on a canvas in your browser and never uploaded.
Common uses
- Shrink screenshots and photos before adding them to a website or README
- Convert PNG or JPEG images to WebP
- Resize a batch of images to a maximum width
- Turn a transparent PNG into a JPEG with a chosen background color
FAQ
- Which format gives the smallest file: WebP, JPEG or PNG?
- For photos, WebP is usually smaller than JPEG at similar quality, and AVIF is often smaller still. PNG is lossless and best for screenshots, text and sharp graphics, but large for photos.
- Does converting remove transparency?
- Only for JPEG, which has no alpha channel; transparent areas are filled with the background color you pick. PNG, WebP and AVIF keep transparency.
- Are my images uploaded to a server?
- No. Decoding and encoding happen in your browser, so the images never leave your device.