Huge payloads
BMP is uncompressed — even modest images produce massive Base64 strings.
Fix: Convert to PNG or JPG first; use BMP→Base64 only for tiny assets or test fixtures.
header • up to 320x100 / 728x90
Convert BMP bitmap images into Base64 data URLs for embedding in HTML, email, or legacy apps
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
BMP is an uncompressed bitmap format created by Microsoft that stores pixel data row-by-row. Because BMP files are usually large, Base64 is most useful for small icons or test fixtures.
BMP to Base64 Encoder takes a .bmp file and returns a `data:image/bmp;base64,…` data URL you can paste into HTML, CSS, or a JSON payload.
pattern.bmp (binary, 8 KB, 32×32 24-bit)
data:image/bmp;base64,Qk0eAAAAAAAAADYAAAAoAAAAIAAAACAAAAABABgAAAAAAOgC…
BMP is uncompressed — even modest images produce massive Base64 strings.
Fix: Convert to PNG or JPG first; use BMP→Base64 only for tiny assets or test fixtures.
Older browsers may not render every BMP variant (e.g., 16-bit or RLE-compressed).
Fix: Use a standard 24-bit or 32-bit uncompressed BMP for maximum compatibility.
No. Encoding happens entirely in the browser.
BMP itself is uncompressed, and Base64 adds another ~33% overhead. For production assets, prefer PNG or WebP.
Only if the source BMP uses a 32-bit ARGB variant that the browser respects.
You can decode via the generic Base64 to Image tool, which auto-detects `image/bmp`.
Related encoders and image tools: You can also browse the full Encoders & Decoders category for more options.
Encode PNG images as Base64 data URLs with transparency preserved for inline CSS, HTML, and emails
Convert JPG or JPEG images into Base64 data URLs for inline HTML, CSS, or JSON — 100% browser-based
Paste any Base64 data URL or raw Base64 string, auto-detect the MIME type, and preview plus download the image
Convert local image files into Base64 text ready to paste into email, JSON payloads, or data URLs
Encode or decode Base64 strings
Convert BMP images to JPG/JPEG format
Resize any image to exact pixel dimensions or a percentage, with optional aspect-ratio lock and instant PNG/JPG export
Encode .ico favicon files as Base64 data URLs for inline HTML favicons or web manifests
Turn GIF images (including animated GIFs) into Base64 data URLs ready to embed inline in HTML or CSS
Convert modern WebP images into Base64 data URLs for inline embedding in web pages and emails
Encode SVG vector images as Base64 data URLs so you can paste them directly into CSS background-image or HTML
Encode JPEG, PNG, GIF, WebP, or SVG images into Base64 data URLs for inline CSS and HTML