BGR to RGB Bitmap Converter
World's simplest bitmap tool
This is a free and fast online utility that converts bitmap pixels from BGR channel order to RGB channel order. You can use the configuration options below to specify how the source bitmap's red, green, and blue components should be read. Extra options allow you to choose the channel sequence used in the converted bitmap, including RGB, RBG, GRB, GBR, BRG, and BGR. Created by graphics designers from team Browserling.
We put a browser in your browser!
Browserling
Check out our project Browserling – get a browser in your browser and browse while you browse.
A link to this tool, including input, options and all chained tools.
Click here to select an image from your device, press Ctrl+V to use an image from your clipboard, drag and drop a file from desktop, or load an image from any example below.
Release your mouse to import this file.
Your file is being imported...
Can't convert.
What is a BGR to RGB Bitmap Converter?
learn more about this tool
This free online browser-based program converts BGR-formatted bitmap pixels into the RGB layout. BGR and RGB contain the same three color components, but they place the red and blue values in opposite positions. If the channel order is interpreted incorrectly, red areas may appear blue, blue areas may appear red, and the bitmap's colors may look unnatural. In standard uncompressed 24-bit BMP files, the three color bytes of each pixel are typically stored in blue, green, and red order. When this BGR data is read by software that expects RGB order, the bitmap may open normally but display the wrong colors. This tool rearranges the components of every pixel into the expected order while preserving the original width, height, and pixel arrangement. Grayscale pixels remain unchanged because their red, green, and blue values are equal. The default conversion reads the source channels as BGR and writes them as RGB, but you can select any input and output sequence, including RGB, RBG, GRB, GBR, BRG, and BGR. Bmp-abulous!
BGR to RGB Bitmap Converter examples
Click to useRestore Princess Zelda's RGB Sprite
In this example, we load a BGR-ordered bitmap sprite of Princess Zelda from The Legend of Zelda. The cyan hair and violet dress show what can happen when pixel bytes arranged as blue, green, and red are presented directly to RGB-oriented software without the usual channel decoding. We read the source pixels as BGR and convert them to RGB, restoring the intended hair, dress, and skin colors. (Source: Nintendo.)
Required options
Specify how the red, green, and
blue components are ordered in
the source bitmap.
Specify how the red, green, and
blue components are ordered in
the converted bitmap.
Turn a Blue Leash Back to Red
In this example, we convert a dog photo from BGR channel order to RGB. The black-and-white dog looks almost unchanged because grayscale pixels have equal or nearly equal red, green, and blue values. The grass also changes only slightly because green remains the middle component in both BGR and RGB. The leash makes the channel swap easy to see because it appears blue in BGR order and returns to bright red in RGB order. (Source: Pexels.)
Required options
Specify how the red, green, and
blue components are ordered in
the source bitmap.
Specify how the red, green, and
blue components are ordered in
the converted bitmap.
Cycle Tulip Color Channels from BGR to GRB
In this example, we apply a less common BGR-to-GRB channel conversion to a BMP photo of colorful tulips. The converter reads each source triplet as blue, green, and red, then writes the same components in green, red, and blue order. This cyclic shift changes the cyan and blue petals to vivid lime and green and turns the warm orange sky violet. (Source: Pexels.)
Required options
Specify how the red, green, and
blue components are ordered in
the source bitmap.
Specify how the red, green, and
blue components are ordered in
the converted bitmap.
All bitmap tools
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 BGR bitmap colors to RGB 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.
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.
Subscribe!
Never miss an update
Cool!
Notifications
We'll let you know when we add this tool
Cool!
