Image Format Converter

The Complete Image Format Guide - PNG, JPG, WebP, BMP & ICO

How all five output formats differ, the many formats you can upload as input, when to reach for each one, and why converting a transparent image to JPG or BMP needs a background fill color.

Convert an Image

All Five Output Formats at a Glance

This converter can re-encode any image you upload into five output formats. Each one makes different tradeoffs between transparency, compression, and what it's actually meant to be used for.

FormatTransparencyCompression TypeTypical Use CaseBrowser Support
PNGYes (full alpha)LosslessLogos, icons, screenshots, graphics with textUniversal
JPGNoLossyPhotographs, complex images where file size mattersUniversal
WebPYes (full alpha)Lossy or losslessWeb images needing the smallest file sizeAll modern browsers
BMPNoNone (uncompressed)Legacy Windows software, some embedded/industrial toolsUniversal (older format)
ICOYes (via embedded PNG)LosslessWindows app icons, browser faviconsUniversal

Supported Input Formats

What you can upload is much broader than what you can export to. This tool draws whatever image you drop onto an internal canvas first, then re-encodes that canvas - and browsers can decode far more formats than they can encode.

PNG, JPG, WebPThe three formats this tool can also output - fully supported as input too.
GIFStatic GIFs decode fine; for an animated GIF, only its first frame is used.
BMPLegacy uncompressed bitmaps open and convert normally.
SVGVector images are rasterized onto the canvas at their natural size.
TIFF & AVIFSupported in most current browsers, subject to your browser's own decoder.
HEIC / HEIFThe format modern iPhones save photos in - support varies by browser and OS.

If a format won't open, it usually means your specific browser doesn't have a built-in decoder for it - try a different browser, or re-save the file in a more common format first.

Why JPG and BMP Need a Background Fill for Transparency

PNG and WebP both store a full alpha channel alongside their color data, so every pixel can be anywhere from fully opaque to fully transparent. JPEG's format simply has no alpha channel at all - it was never designed to represent transparency in the first place - and the plain 24-bit BMP this tool writes has no alpha channel either.

That means converting a transparent image to JPG or BMP forces a choice: every transparent pixel has to become some solid color. Some converters silently default to black, which can produce a jarring result you didn't expect. This tool instead lets you pick the exact fill color (white by default) before converting, so the result is predictable and matches whatever background the image will actually sit on. ICO doesn't have this problem - it wraps a PNG internally, so transparency comes through untouched.

Which Format Should You Choose?

Choose PNGWhen you need transparency or lossless, pixel-perfect quality - logos, icons, and screenshots with text.
Choose JPGFor photographs where small file size matters more than perfect quality and transparency isn't needed.
Choose WebPWhen you want the smallest file size with good quality and optional transparency, and your target platform supports it.
Choose BMPOnly when a specific legacy program, printer, or embedded device requires an uncompressed bitmap.
Choose ICOWhen you need a Windows application icon or a browser favicon file.
Publishing to the WebWebP shrinks page weight and speeds up load times; keep a PNG or JPG fallback only if you need maximum compatibility.

Frequently Asked Questions

How can a browser convert an image format without a server at all?

This tool draws whatever you upload onto an HTML canvas element, then asks the browser to re-encode that canvas as PNG, JPG, or WebP through the canvas's built-in export method - browsers support those three natively. BMP and ICO have no native browser encoder, so for those two the tool builds the output file byte by byte itself: a BMP header plus raw pixel data for BMP, and an ICO container wrapped around a PNG payload for ICO. Every step runs as JavaScript on your own device's CPU, so there's never a network request involved.

Why does converting a transparent image to JPG or BMP fill in a solid background color?

Neither JPEG nor this tool's BMP output has an alpha channel, so neither can represent transparency at all. Every transparent or semi-transparent pixel has to be replaced with a solid color before the file is saved. This tool lets you choose that fill color (white by default) so you get a predictable result instead of a converter defaulting to black.

Which image format should I choose - PNG, JPG, WebP, BMP, or ICO?

Choose PNG when you need transparency or lossless, pixel-perfect quality, such as logos or screenshots with text. Choose JPG for photographs where small file size matters more than perfect quality and transparency isn't needed. Choose WebP when you want the smallest file size with good quality and optional transparency, as long as your target platform supports it. Choose BMP only when a specific legacy program or device requires an uncompressed bitmap. Choose ICO when you need a Windows app icon or a favicon file.

Does converting to WebP or PNG keep transparency intact?

Yes. Both PNG and WebP support a full alpha channel, so converting between them preserves any transparent areas exactly. ICO also preserves transparency, since it wraps a PNG internally. Only conversion to JPG or BMP requires filling transparency with a solid background color.

Will converting formats affect image quality?

Converting to PNG or BMP is always lossless. Converting to JPG or WebP is lossy and controlled by the quality slider - higher values keep more detail at a larger file size, lower values shrink the file further at the cost of some fidelity. ICO quality depends on the PNG it wraps, which this tool always encodes losslessly.

Does the converted file keep the original's EXIF metadata?

No. Conversion redraws the image onto a canvas and re-exports it, which only carries pixel data through - not metadata such as camera details or GPS location. If you need to preserve or inspect that information, check it before converting.

What image formats can I upload as input?

Far more than it can output. Alongside PNG, JPG, and WebP, this tool accepts GIF, BMP, SVG, TIFF, AVIF, and most other image formats your own browser can decode - it draws whatever you upload onto a canvas, then re-encodes that canvas into one of the five output formats.

What is an ICO file used for, and why does it get resized?

ICO is the format used for Windows application icons and browser favicons. Icons are meant to be small, so if your source image is larger than 256x256 pixels, this tool automatically scales it down to fit before wrapping it in the ICO container.

Convert an Image