Converting a compact JPG photo into a bulky, uncompressed bitmap looks like a step backwards, and for everyday use it is. But there are good reasons to do it. An older program, a machine-control application or a laser engraving or embroidery package only imports BMP. A small display module needs a raw bitmap it can read without a JPEG decoder. A student's image-processing assignment says "read a 24-bit BMP and invert the pixels" because BMP is simple enough to parse by hand.
This guide explains what a BMP stores, exactly what does and does not change when a JPG becomes a BMP, how to convert in bulk, and how to deal with the sizes and quirks that catch people out.
Why BMP is easy for software to read
A JPEG file is the output of a sophisticated compression pipeline. Displaying it requires colour-space conversion, a discrete cosine transform, entropy decoding and chroma upsampling. That is routine for a PC or phone, but a burden for a tiny microcontroller, a decades-old program or a beginner's code.
A 24-bit BMP, by contrast, is:
- a 14-byte file header starting with the letters
BM; - a 40-byte information header giving the width, height and bit depth;
- the pixels, three bytes each (blue, green, red), row by row, usually from the bottom row upwards, with each row padded to a multiple of 4 bytes.
With that knowledge, reading pixel (x, y) is a small calculation:
row_size = ceil(width × 3 ÷ 4) × 4
offset = pixel_data_start + (height − 1 − y) × row_size + x × 3
blue, green, red = bytes[offset], bytes[offset + 1], bytes[offset + 2]
That simplicity is why BMP remains the format of choice for teaching, for embedded systems and for software written before modern image libraries were common.
What the conversion preserves, and what it cannot fix
Going from JPG to BMP is lossless in one direction only: the BMP stores exactly the pixels the JPG decodes to. Nothing further is lost.
But the BMP does not undo JPEG compression. Blockiness, colour smearing around sharp edges and softness that were in the JPG are now written permanently into the bitmap. If you have a higher-quality original, such as a camera RAW, a PNG or the original design file, convert from that instead.
| Question | Answer |
|---|---|
| Will the BMP look better than the JPG? | No, it will look identical |
| Will it lose further quality? | No, BMP stores the decoded pixels exactly |
| Will it be larger? | Yes, often 10 times or more |
| Is metadata kept? | No, EXIF data such as camera and location is not written to the BMP |
Predicting the size
A 24-bit BMP is about width × height × 3 bytes. So:
- 1024 × 768 → about 2.3 MB
- 1920 × 1080 → about 6.2 MB
- 4000 × 3000 → about 36 MB
If the receiving software or device does not need full resolution, reduce the pixel dimensions first. It is the only way to make a BMP meaningfully smaller.
Convert JPG to BMP with our tool
The JPG to BMP converter decodes each JPG in your browser and writes a standard 24-bit bitmap.
- Open JPG to BMP and drop your JPG files onto the upload box (
.jpg,.jpeg,.jpeand.jfifare accepted), or click to choose them. Batches are fine, up to 50 MB per file. - There is no colour depth choice to make: JPG has no transparency, so the output is always 24-bit, the most compatible BMP form. The page reminds you of the expected size.
- Click Convert to BMP. Each file shows its original size, the BMP size and its dimensions.
- Download individual bitmaps with the BMP button, or all of them with Download all (ZIP).
The files use the classic 40-byte header, bottom-up rows and 4-byte row padding, which is what the overwhelming majority of BMP readers expect. Photos over 50 megapixels are refused because they are too large to process in the browser.
Other ways to convert
Paint
Open the JPG in Paint and use Save as > BMP picture. It is quick, built into Windows and produces a standard 24-bit bitmap. Paint also offers 256-colour, 16-colour and monochrome bitmap options in the save dialog, which is useful for devices that need them.
Preview on a Mac
Preview's File > Export dialog shows a short list of formats, and holding the Option key while opening the Format menu reveals more on many macOS versions. Whether BMP is among them depends on your version, so a browser converter or the command line is the dependable fallback.
Command line and code
magick photo.jpg -type TrueColor BMP3:photo.bmp
In Python with the Pillow library, Image.open("photo.jpg").save("photo.bmp") does the same. For programming exercises, this is a convenient way to create test files at known sizes.
Tips and pitfalls
Resize for the target
Embedded displays and engraving beds have fixed resolutions. Resize to the exact size first with the Image Resizer; a bitmap at the correct size loads faster and avoids unexpected cropping.
Greyscale and one-colour output
Engraving, cutting and thermal printing often work best with high-contrast images. Converting to black and white before creating the BMP can give cleaner results.
Orientation
Phone photos often rely on an EXIF orientation flag. The browser applies it when decoding, so the BMP is saved the right way up, but the flag itself is not kept. If an old program shows a rotated image, rotate the source with the Image Rotator and convert again.
If you have a PNG with transparency
Use PNG to BMP, which offers 32-bit output with alpha or 24-bit with a background colour of your choice.
Converting back later
To make a bitmap small again for sharing, BMP to JPG compresses it, and BMP to PNG does so losslessly.
Frequently asked questions
Does converting JPG to BMP improve quality?
No. The BMP stores exactly what the JPG decodes to, including any compression artefacts. It prevents further loss but cannot restore detail.
Why is the BMP file so much bigger?
BMP stores every pixel uncompressed at 3 bytes each, while JPG compresses the image heavily. A 1920 × 1080 bitmap is about 6 MB.
What kind of BMP does the converter create?
A standard 24-bit Windows bitmap with the classic 40-byte header, bottom-up rows and 4-byte row padding, which is the most widely supported form.
Is EXIF data kept in the BMP?
No. BMP files do not carry EXIF metadata, so camera details and GPS location are not included.
Can I convert JFIF files to BMP too?
Yes. JFIF files are JPEG images, so they convert in exactly the same way.