Image Converter
Upload an image and convert it between PNG, JPEG, WebP, GIF, and BMP formats directly in your browser using canvas. Download the result with the correct extension. No file is ever uploaded to a server.
How it works
- Select an image from your device using the file picker.
- Choose the target format: PNG, JPEG, WebP, GIF, or BMP.
- For PNG, JPEG, and WebP, the image is drawn onto a hidden <canvas> and re-encoded with canvas.toBlob(); for GIF it's quantized to a 256-color palette with the gifenc library, and for BMP an uncompressed 24-bit BMP file is generated manually from the canvas pixels.
- A preview of the result is shown along with its dimensions and file size.
- Download the converted file with the corresponding extension.
Use cases
- Convert PNG images to WebP to reduce a webpage's load weight.
- Convert screenshots or images with transparency to JPEG when a platform doesn't accept PNG.
- Generate an uncompressed BMP for legacy software or tools that require it.
- Convert an image to a static GIF for forums or platforms that only accept that format.