51K

Base-64 bitmap encoder

World's simplest bitmap tool

This is a free browser-based utility that encodes bitmaps to the base-64 encoding. The encoded output can also be split in lines of a certain length (for example, 80 characters). You also have an option to enable URL-encoding, that will append the URL scheme "data:" at the beginning of base-64 output data. Created by the graphics designers from team Browserling.
Check out our primary project! Browserling
We created Browserling – get a cloud browser in 5 seconds. Check it out!
Base64 Length
If you enable this option, then base64 output will be split in fragments of a certain length.
Fragment size (line length).
Data URI Scheme
If you enable this option, then base64 output will have data: prefix added in front of it that will make it a valid Data URL.
Base-64 bitmap encoder tool What is a base-64 bitmap encoder?
This online program converts a bitmap (an image with extension .bmp) to base64 encoded data. Base64 uses 64 different ASCII characters to represent binary data and is used for sending binary data (such as images, files, or music) over plain-text protocols (such as email). As base64 text can get megabytes and megabytes in length, then to improve its readability, you can split it in pieces of a certain length (in the options above). If this option is enabled, then every base64 fragment will be put on a new line. Additionally, you can add a data URI scheme signature in front of the base64 data, which will make it a valid inline data URL.
Base-64 bitmap encoder examples Click to use
Solitaire Card
In this example, we convert a 24-bit BMP of the back of a card from the popular Solitaire game to base64 encoding.
In this example, we convert a 24-bit BMP of the back of a card from the popular Solitaire game to base64 encoding.
Qk04NgAAAAAAADYAAAAoAAAARwAAAGAAAAABABAAAAAAAAI2AAASCwAAEgsAAAAAAAAAAAAA/3//f2AAQABAAGAAYABgAGAAYABgAGAAYABgAGAAQABAAEAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAoACAAIAA/3//fwAA [...]
Required options
These options will be used automatically if you select this example.
If you enable this option, then base64 output will be split in fragments of a certain length.
If you enable this option, then base64 output will have data: prefix added in front of it that will make it a valid Data URL.
Data URL of a Red Rose
This example encodes a 200x160 16-bit bitmap of a red rose to base64 with Data URL prefix.
This example encodes a 200x160 16-bit bitmap of a red rose to base64 with Data URL prefix.
data:image/x-ms-bmp;base64,Qk04+gAAAAAAADYAAAAoAAAAyAAAAKAAAAABABAAAAAAAAL6AAASCwAAEgsAAAAAAAAAAAAAKCUoJSglKCUoJSglKCUoJSglKCUoJSglKCUoJSglKCUoJSglKCUoJSglKCUoJSclJyUnJSclJyUnJSclJyUnJSclJyUnJUglRyVHJUclRyVHJUclRyVoJWglaCVoJWgliCmIKYgpiCmoKagtyR3qEesV6hXqFeoV6hXqFeoZ6hnqGQsaCxoa6 [...]
Required options
These options will be used automatically if you select this example.
If you enable this option, then base64 output will be split in fragments of a certain length.
If you enable this option, then base64 output will have data: prefix added in front of it that will make it a valid Data URL.
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 a BMP file to the base-64 encoding.
Quickly convert base-64 encoding to a BMP file.
Quickly convert an opaque bitmap to a transparent bitmap.
Quickly create a bitmap file from random colorful pixels.
Quickly change the width/height of a bitmap.
Quickly animate a bitmap sprite sheet.
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.
Change Bitmap Colors
Substitute one color for another in a bitmap.
Change Bitmap Depth
Change the number of bits per pixel of a bitmap.
Blur a Bitmap
Blur areas of a bitmap.
Sharpen a Bitmap
Sharpen any bitmap area.
Pixelate a Bitmap
Increase pixel size in any bitmap area.
Convert a Bitmap to Grayscale
Leave only grayscale tones 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.
Duplicate a Bitmap
Make copies of bitmaps and paste them together.
Rotate a Bitmap
Rotate a bitmap by any angle.
Crop a Bitmap
Select a region from a bitmap.
Skew a Bitmap
Skew a bitmap by an arbitrary angle.
Shift a Bitmap
Shift a bitmap to the left or right.
Add a Border to a Bitmap
Add a border around or inside of a bitmap.
Flip a Bitmap Vertically
Turn a bitmap upside-down.
Flip a Bitmap Horizontally
Make a mirror copy of a bitmap.
Extract Bitmap Color Palette
Find all colors in a bitmap and extract them.
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 JEPG 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.
Destroy a BMP
Destroy parts of a bitmap and make it glitchy.