GIF to BMP Converter
CV-118Open a GIF and save it as a Windows bitmap. Choose 24-bit for the widest compatibility or 32-bit to keep transparent pixels in an alpha channel.
Runs in your browser. Nothing is uploaded.
Original
BMP
How to use it
- Press Open image, drop a .gif file, or paste one from the clipboard.
- Leave BMP depth on Automatic, or force 24-bit or 32-bit.
- Check the result line for the depth and file size.
- Press Download to save the .bmp file.
24-bit or 32-bit
A 24-bit BMP stores blue, green and red for every pixel and has no transparency, so transparent GIF pixels are filled with white. Nearly every program that opens bitmaps reads this format. A 32-bit BMP adds an alpha byte per pixel and uses a BITMAPV4 header with an alpha mask; current browsers and image editors read it, but some older software ignores the alpha and shows the hidden color instead. Automatic picks 32-bit only when the GIF has transparent pixels.
Expect a bigger file
GIF compresses palette numbers with LZW, while a bitmap from this tool stores raw color bytes for each pixel. A 500 by 500 GIF of a few kilobytes becomes about 750 KB as a 24-bit BMP and 1 MB as 32-bit. That is normal and is the reason bitmaps are rarely used on the web. Each row of a 24-bit bitmap is also padded to a multiple of four bytes, as the format requires.
Questions people ask
What happens to an animated GIF?
Only the first frame is converted, as your browser decodes it. A BMP holds a single image, so the other frames and their timing are dropped.
Why is the BMP so much larger than the GIF?
The BMP stores three or four bytes for every pixel with no compression, while the GIF stores compressed palette numbers. Ten or a hundred times larger is normal.
Does the BMP keep the GIF transparency?
In 32-bit mode, yes: transparent pixels get an alpha value of zero. In 24-bit mode they are filled with white because that format has no alpha channel.
Which depth should I pick for an old Windows program?
Pick 24-bit. It is the most widely read bitmap format, and older programs that do not understand an alpha mask may show transparent areas in the wrong color.
Are colors changed during the conversion?
No. Every GIF color fits in a 24-bit bitmap, so each pixel keeps the color your browser decoded. Only the file layout changes, from compressed palette numbers to raw color bytes.
About this tool
The GIF is decoded by your browser and written as an uncompressed BMP, so the file is usually many times larger than the GIF. Animated GIFs convert their first frame only. Automatic depth writes 24-bit (blue, green, red per pixel, rows from the bottom up) unless the GIF has transparent pixels, which then go into a 32-bit BMP with an alpha channel. Some older programs ignore BMP alpha; choose 24-bit for them.