᠎᠎᠎          
51K

RGB to BGR Bitmap Converter

World's simplest bitmap tool
This is a free and fast online utility that converts bitmap pixels from RGB channel order to BGR channel order. You can use the configuration options (below) to specify the bitmap's current channel order and choose any of the six channel orders for the output: RGB, RBG, GRB, GBR, BRG, or BGR. Created by graphics designers from team Browserling.
we're on twitter! tweet tweet
Love what we do? You can follow us on Twitter for updates!
Input Channel Order
Choose the channel order of the input bitmap.
Output Channel Order
Choose the channel order of the output bitmap.

What is a RGB to BGR Bitmap Converter?

learn more about this tool
This free online browser-based program converts the color channels of a bitmap from RGB order to BGR order. By default, it reads each input pixel as red (R), green (G), and blue (B), and rearranges the three channel values as blue (B), green (G), and red (R). In other words, it swaps the positions of the red (R) and blue (B) values. Raw pixel data in uncompressed 24-bit BMP files normally stores color bytes in BGR order. This conversion can fix errors in bitmap images where RGB bytes are accidentally packed as BGR bytes. In the options, you can select a different output order, including RBG, GRB, GBR, BRG, or RGB. If the input bitmap already contains rearranged color channels, you can also specify its current input order so that the program interprets the existing values correctly before converting them to the selected output order. Bmp-abulous!

RGB to BGR Bitmap Converter examples

Click to use
Display Link's Sprite in BGR Order
In this example, we load a pixel sprite of Link from The Legend of Zelda and change its channel order from RGB to BGR. Standard 24-bit BMP pixel data stores the three color bytes as blue, green, and red. Therefore, this conversion recreates how the sprite would look if that BGR byte sequence were displayed directly as RGB channels without being decoded: the warm gold and brown tones become blue, while much of Link's green clothing stays green because the middle channel keeps its position. (Source: Nintendo.)
In this example, we load a pixel sprite of Link from The Legend of Zelda and change its channel order from RGB to BGR. Standard 24-bit BMP pixel data stores the three color bytes as blue, green, and red. Therefore, this conversion recreates how the sprite would look if that BGR byte sequence were displayed directly as RGB channels without being decoded: the warm gold and brown tones become blue, while much of Link's green clothing stays green because the middle channel keeps its position. (Source: Nintendo.)
In this example, we load a pixel sprite of Link from The Legend of Zelda and change its channel order from RGB to BGR. Standard 24-bit BMP pixel data stores the three color bytes as blue, green, and red. Therefore, this conversion recreates how the sprite would look if that BGR byte sequence were displayed directly as RGB channels without being decoded: the warm gold and brown tones become blue, while much of Link's green clothing stays green because the middle channel keeps its position. (Source: Nintendo.)
Required options
These options will be used automatically if you select this example.
Choose the channel order of the input bitmap.
Choose the channel order of the output bitmap.
Convert Pepper Colors to BGR Order
In this example, we convert an RGB bitmap of red and yellow peppers on a blue background to BGR order. Exchanging red and blue turns the blue background brownish orange, changes the red pepper to blue-violet, and makes the yellow pepper bright cyan. The green stems change much less because green remains in the middle position of color channels. (Source: Pexels.)
In this example, we convert an RGB bitmap of red and yellow peppers on a blue background to BGR order. Exchanging red and blue turns the blue background brownish orange, changes the red pepper to blue-violet, and makes the yellow pepper bright cyan. The green stems change much less because green remains in the middle position of color channels. (Source: Pexels.)
In this example, we convert an RGB bitmap of red and yellow peppers on a blue background to BGR order. Exchanging red and blue turns the blue background brownish orange, changes the red pepper to blue-violet, and makes the yellow pepper bright cyan. The green stems change much less because green remains in the middle position of color channels. (Source: Pexels.)
Required options
These options will be used automatically if you select this example.
Choose the channel order of the input bitmap.
Choose the channel order of the output bitmap.
Reorder a Coral Reef Bitmap as BRG
In this example, we select BRG as the new channel order for an underwater bitmap. Moving blue into the first position, red into the second, and green into the third turns the light-blue ocean pink and changes the red tropical fish to lime green. The black shadow areas of the coral reef remain unchanged because black has equal red, green, and blue values of zero. The same is true for every grayscale tone: as its three channel values are equal, rearranging them produces exactly the same color. (Source: Pexels.)
In this example, we select BRG as the new channel order for an underwater bitmap. Moving blue into the first position, red into the second, and green into the third turns the light-blue ocean pink and changes the red tropical fish to lime green. The black shadow areas of the coral reef remain unchanged because black has equal red, green, and blue values of zero. The same is true for every grayscale tone: as its three channel values are equal, rearranging them produces exactly the same color. (Source: Pexels.)
In this example, we select BRG as the new channel order for an underwater bitmap. Moving blue into the first position, red into the second, and green into the third turns the light-blue ocean pink and changes the red tropical fish to lime green. The black shadow areas of the coral reef remain unchanged because black has equal red, green, and blue values of zero. The same is true for every grayscale tone: as its three channel values are equal, rearranging them produces exactly the same color. (Source: Pexels.)
Required options
These options will be used automatically if you select this example.
Choose the channel order of the input bitmap.
Choose the channel order of the output bitmap.
All bitmap tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert an opaque bitmap to a transparent bitmap.
Quickly substitute one color for another in a bitmap.
Quickly find all colors in a bitmap and extract them.
Quickly turn a color bitmap into a grayscale bitmap.
Quickly blur an area of a bitmap.
Quickly sharpen an area of a bitmap.
Quickly pixelate an area of a bitmap.
Quickly create a bitmap file from random, colorful pixels.
Quickly change the width/height of a bitmap.
Quickly select a region from a bitmap.
Quickly rotate a bitmap by any angle.
Quickly add a border around or inside a bitmap.
Quickly delete a border that surrounds a bitmap.
Quickly animate a bitmap sprite sheet.
Quickly create a byte array from a BMP image.
Quickly create a BMP image from a byte array.
Quickly convert RGB bitmap colors to BGR channel order.
Quickly convert a BMP file to the base-64 encoding.
Quickly convert base-64 encoding to a BMP file.
Coming soon These bitmap tools are on the way
Edit and Draw Bitmaps
Create and edit bitmaps in your browser.
Compress a Bitmap
Make a bitmap smaller in size.
Uncompress a Bitmap
Convert a compressed bitmap to a raw RGB pixel bitmap.
Convert BGR Bitmap to RGB Bitmap
Convert BMP colors in BGR order to RGB order
Change Bitmap Depth
Change the number of bits per pixel of a bitmap.
Swirl a Bitmap
Create a swirl of any radius in a bitmap.
Make Bitmap Black and White
Reduce all bitmap colors to just black and white.
Merge Bitmaps
Join two or more bitmaps together.
Overlay Bitmaps
Place two or more bitmaps on top of each other.
Split a Bitmap
Split a bitmap into multiple independent bitmaps.
Extract a Bitmap Fragment
Extract one or more selected areas from a bitmap.
Duplicate a Bitmap
Make copies of bitmaps and paste them together.
Skew a Bitmap
Skew a bitmap by an arbitrary angle.
Shift a Bitmap
Shift a bitmap to the left or right.
Flip a Bitmap Vertically
Turn a bitmap upside-down.
Flip a Bitmap Horizontally
Make a mirror copy of a bitmap.
Convert Bitmap to Webp
Convert a BMP to a Webp.
Convert Webp to Bitmap
Convert a Webp to a BMP.
Convert Bitmap to PNG
Convert a BMP to a PNG.
Convert PNG to Bitmap
Convert a PNG to a BMP
Convert Bitmap to JPEG
Convert a BMP to a JPG.
Convert JPEG to Bitmap
Convert a JPG to a BMP.
Convert Bitmap to BPG
Convert a BMP to a BPG.
Convert BPG to Bitmap
Convert a BPG to a BMP.
Convert GIF to Bitmap
Save GIF frames as BMP images.
Convert BMP to GIF
Convert a bitmap to a single-frame GIF.
Convert Bitmap to Data URI
Create a Data URL scheme of a bitmap.
Convert Data URI to Bitmap
Convert a Data URL scheme back to a bitmap image.
BitBlt Bitmaps
Bit Blit two or more BMPs.
Replace Bitmap Color Index
Put a new color table in a BMP.
Print Bitmap Color Index
Extract the color table of a BMP.
Print Raw Bitmap Pixels
Extract raw RGB pixels from a BMP and print them out as text.
Convert Raw RGB to BMP
Create a bitmap image from raw RGB pixels.
Randomize Bitmap Color Index
Randomly rearrange colors in the BMP color table.
Optimize a Bitmap
Reduce a BMP's memory footprint.
Destroy a BMP
Destroy parts of a bitmap and make it glitchy.