Our Network


Coming Soon


Coming Later

Bitmap Hex Converter

World's Simplest Bitmap Tool

This is a free and fast online utility that converts BMP pixel colors into six-digit hexadecimal codes. You can use the configuration options (below) to change the order of the red, green, and blue channel pairs, add hash prefixes, and use uppercase hex letters. Extra options allow you to wrap codes in quotes, choose a custom separator, and preserve the original bitmap row structure with line breaks. Created by graphics designers from team Browserling.

Bitmap Hex Converter

World's Simplest Bitmap Tool

This is a free and fast online utility that converts BMP pixel colors into six-digit hexadecimal codes. You can use the configuration options (below) to change the order of the red, green, and blue channel pairs, add hash prefixes, and use uppercase hex letters. Extra options allow you to wrap codes in quotes, choose a custom separator, and preserve the original bitmap row structure with line breaks. Created by graphics designers from team Browserling.

Tool Options

Hex Channel Order

Set the order of red, green, and blue pairs in each hex code.

Hex Code Format

Place the # character before every encoded bitmap pixel.
Write hexadecimal letters with A, B, C, D, E, and F.

Code Wrapping and Spacing

Select the marks that surround each bitmap hex value.
Enter the text placed between neighboring BMP pixel codes.

Bitmap Row Structure

Begin a new output line after every full row of BMP pixels.

What Is a Bitmap Hex Converter?

This free online browser-based program converts the pixel colors of a BMP image into six-digit hexadecimal codes. Each bitmap pixel contains red, green, and blue color components, and each component is written as a two-digit hexadecimal value from 00 to ff. For example, a bright orange pixel with RGB values 255, 128, and 0 becomes "ff8000", while white becomes "ffffff" and black becomes "000000". The "Hex Channel Order" option controls how these three pairs are arranged in the output. While colors are usually represented in RGB order, 24-bit BMP pixel data is commonly stored in BGR byte order, where the blue byte comes first and the red byte comes last. You can select BGR to reproduce this bitmap byte order, use RGB for the conventional color representation, or choose one of the other supported arrangements: RBG, GRB, GBR, or BRG. You can customize the resulting codes by adding a hash sign, switching hexadecimal letters to uppercase, and surrounding each value with single or double quotes. The separator option lets you choose what appears between neighboring pixel codes, such as a comma, space, semicolon, or any other text. If you enable "Preserve Bitmap Rows", the tool starts a new line after every complete row of pixels, making the width of the hex output correspond to the width of the original BMP image. To convert hexadecimal pixel codes back into a bitmap image, use our Convert Hex to Bitmap tool. Bmp-abulous!

What Is a Bitmap Hex Converter?

This free online browser-based program converts the pixel colors of a BMP image into six-digit hexadecimal codes. Each bitmap pixel contains red, green, and blue color components, and each component is written as a two-digit hexadecimal value from 00 to ff. For example, a bright orange pixel with RGB values 255, 128, and 0 becomes "ff8000", while white becomes "ffffff" and black becomes "000000". The "Hex Channel Order" option controls how these three pairs are arranged in the output. While colors are usually represented in RGB order, 24-bit BMP pixel data is commonly stored in BGR byte order, where the blue byte comes first and the red byte comes last. You can select BGR to reproduce this bitmap byte order, use RGB for the conventional color representation, or choose one of the other supported arrangements: RBG, GRB, GBR, or BRG. You can customize the resulting codes by adding a hash sign, switching hexadecimal letters to uppercase, and surrounding each value with single or double quotes. The separator option lets you choose what appears between neighboring pixel codes, such as a comma, space, semicolon, or any other text. If you enable "Preserve Bitmap Rows", the tool starts a new line after every complete row of pixels, making the width of the hex output correspond to the width of the original BMP image. To convert hexadecimal pixel codes back into a bitmap image, use our Convert Hex to Bitmap tool. Bmp-abulous!


Bitmap Hex Converter Examples

Click to try!
click me

Convert a Cat Bitmap to Hex Codes

In this example, we convert a 313×420 BMP photo of a sleeping ginger kitten into hexadecimal color codes. We use RGB channel order and output lowercase hex values with a hash prefix. The result uses a clean, compact format with a single space between each pixel code, creating one continuous sequence of hex colors. (Source: Pexels.)

#4b565a #4d585c #4d585c #4e595d #495458 #4b565a #4e595d #4d585c #4d5b5e #4e5c5f #4e5c5f #4d5b5e #4e5c5f #505e61 #4f5d60 #4e5c5f #4e5d60 #4e5d60 #505e61 #515f62 #525f62 #535e62 #525d61 #536063 #536164 #4f5d60 #505e61 #526063 #515f62 #515f62 #505e61 #536265 #526164 #505f62 #536164 #505e61 #545f63 #535e62 #556064 #505e61 #536164 #546265 #546265 #526063 #526063 #505e61 #536164 #546265 #526063 #546265 #536164 #526063 #505e61 #556366 #505e61 #526063 #536164 #536164 #515f62 #515f62 #536164 #515f62 #556165 #565f64 #545d62 ...
Required options
These options will be used automatically if you select this example.
Set the order of red, green, and blue pairs in each hex code.
Place the # character before every encoded bitmap pixel.
Write hexadecimal letters with A, B, C, D, E, and F.
Select the marks that surround each bitmap hex value.
Enter the text placed between neighboring BMP pixel codes.
Begin a new output line after every full row of BMP pixels.
click me

Encode a Lemon BMP in BGR Hex

In this example, we encode a BMP image of bright yellow lemons using BGR channel order, which matches the byte order commonly used for pixel data in 24-bit BMP files. The hex values are written in uppercase without hash prefixes and enclosed in double quotes. We separate them with commas and spaces, creating a list-style format that is convenient for use in source code, configuration files, and other structured data. (Source: Pexels.)

"45C1D3", "44BDD0", "40B8CB", "3FB6C9", "44B9CE", "3FB6CB", "3AB4C9", "38B6CB", "36B8CC", "35BACE", "3CBCD2", "3BB3CC", "39B3CB", "42BED6", "44C2D8", "3DBCD1", "3CBCD1", "3FBFD2", "45C2D6", "49C5D9", "48C6DA", "40C6DA", "39C2D8", "31BDD2", "2BBACF", "2CBDD3", "2FC2DA", "2FC2DB", "2BBFD7", "29BBD5", "28B8D2", "21B7D1", "17B8D1", "0EB8D0", "03B8CE", "00B6CD", "00B5CD", "02B3CC", "05AFCB", "09B0CC", "09B1CD", "0AAEC9", "14A5C3", "1AA1BD", "1A98B4", "0B7C96", "08526A", "043D53", "074A5E", "1F5C6F", "24586A", "113F50", "02303D", "003942", "125258", "337679", ...
Required options
These options will be used automatically if you select this example.
Set the order of red, green, and blue pairs in each hex code.
Place the # character before every encoded bitmap pixel.
Write hexadecimal letters with A, B, C, D, E, and F.
Select the marks that surround each bitmap hex value.
Enter the text placed between neighboring BMP pixel codes.
Begin a new output line after every full row of BMP pixels.
click me

Turn a Madoka Aikawa Sprite into GRB Hex Data

In this example, we turn a BMP sprite of Madoka Aikawa into GRB hexadecimal data, placing the green byte first, followed by red and blue. Instead of using a typical comma-separated format, we wrap every pixel value in single quotes and divide neighboring codes with vertical bars. We also preserve the bitmap rows, so each original sprite row becomes a separate line in the output. (Source: SNK.)

'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'ffffff'|'fff...
Required options
These options will be used automatically if you select this example.
Set the order of red, green, and blue pairs in each hex code.
Place the # character before every encoded bitmap pixel.
Write hexadecimal letters with A, B, C, D, E, and F.
Select the marks that surround each bitmap hex value.
Enter the text placed between neighboring BMP pixel codes.
Begin a new output line after every full row of BMP pixels.

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 change the number of bits used by every BMP pixel.
Quickly redraw a bitmap with a smaller selection of colors.
Quickly separate bitmap colors into individual layers.
Quickly turn a color bitmap into a grayscale bitmap.
Quickly change all bitmap colors to just black and white.
Quickly animate a bitmap sprite sheet.
Quickly convert an animation into a bitmap sprite sheet.
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 flip a bitmap image horizontally.
Quickly flip a bitmap image vertically.
Quickly add a border around or inside a bitmap.
Quickly delete a border that surrounds a bitmap.
Quickly create a byte array from a BMP image.
Quickly create a BMP image from a byte array.
Quickly convert bitmap pixels into hexadecimal color codes.
Quickly convert RGB bitmap colors to BGR channel order.
Quickly convert BGR bitmap colors to RGB channel order.
Quickly create a BMP image by mapping text symbols to colored pixels.
Quickly convert a BMP file to the base-64 encoding.
Quickly convert base-64 encoding to a BMP file.
Quickly convert a bitmap image to a 32-bit BMP.
Quickly convert a bitmap image to a 24-bit BMP.
Quickly convert a bitmap image to a 16-bit BMP.
Quickly convert a bitmap image to an 8-bit BMP.
Quickly convert a bitmap image to a 4-bit BMP.
Quickly convert a bitmap image to a 1-bit BMP.

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.

Swirl a Bitmap

Create a swirl of any radius in a bitmap.

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.

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!

Subscribe to our updates. We'll let you know when we release new tools and features, and when we organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling, we love to make people's lives easier, so we created this collection of online bitmap tools. Our BMP tools have the simplest possible user interface and work directly in your browser without downloads or installations. You can use them to edit bitmap images, change BMP bit depth and colors, resize bitmaps, create transparent BMPs, work with bitmap pixels and byte arrays, and much more. Behind the scenes, our bitmap tools are powered by our web developer tools that we've created over the years. Check them out!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!