JPG to BMP Converter

Convert JPEG photos to uncompressed BMP.

Your image is processed entirely in your browser. It is never uploaded to a server.

In-depth guide

JPG to BMP: exact file sizes and decoded pixels

Understand this tool's uncompressed 24-bit BMP output, row padding, pixel limits and loss of source metadata.

Last verified: Plain-text version of this guide

Key figures at a glance

BMP output
24-bit, uncompressed
Three colour bytes per pixel, stored in bottom-up rows padded to multiples of four bytes.
Headers
54 bytes
A 14-byte file header and a 40-byte information header; no colour palette.
Transparency
Opaque output
The writer composites any alpha onto white; it does not write an alpha channel.
Canvas area cap
16,777,216 pixels
Larger source images are reduced proportionally before encoding.

Why use this conversion

Use this page if a receiving program specifically requires a 24-bit BMP. The browser decodes your JPEG, handles its EXIF orientation and passes the resulting canvas pixels to the BMP writer. JPEG compression artefacts remain; changing to BMP does not restore missing detail. Keep the JPEG original.

Exact size examples

For this writer only, bytes = 54 + 4 × ceil(3 × width / 4) × height. Each RGB pixel takes three bytes; each row is padded to a four-byte boundary. The table was computed with the actual encoder, not a sample photograph's compression ratio.

Dimensions BMP bytes
16 × 16 822
256 × 256 196,662
640 × 480 921,654
1001 × 500 1,502,054
2048 × 1536 9,437,238

For width 1001, the 3003 colour bytes in each row become 3004 after padding. At height 500, the file is 54 + 3004 × 500 = 1,502,054 bytes. Content and the original file's compression do not change this BMP size. Other BMP variants may use different headers, compression or palettes.

Convert and check

  1. Choose or drop the source image.
  2. Check the result dimensions and file size.
  3. Download the .bmp, which keeps the source base name.
  4. Open it in the receiving program and check its required dimensions and bit depth.

Limits and alternatives

Processing takes place in the browser without uploading the image for conversion. The tool creates one still image and re-encodes pixels; original camera, date, GPS and source colour-profile metadata are not copied. Browser decoding, colour handling and any resizing occur before BMP writing.

The area cap is 16,777,216 pixels. The real sizing function reduces 8000 × 6000 to 4729 × 3547. The cap is an implementation limit, not a property of all BMP files. BMP can be large: resize first if the receiver imposes a file-size limit. A larger file does not imply a sharper image.

Use the image resizer to reduce dimensions, the image converter for other formats, or JPG to PNG when you need PNG output. PNG is generally a better choice when transparency matters; it does not recover earlier JPEG damage.

Frequently asked questions

Is my image uploaded anywhere?

No. The image is decoded and re-encoded entirely in your browser using a canvas. It never leaves your device, is never sent to a server, and nothing is stored.

Will the quality drop?

PNG keeps every pixel. BMP also keeps every pixel but flattens transparency onto white. WebP and JPEG are lossy at the default quality of 92, so the quality setting trades file size against fidelity. Decoding an already-lossy JPEG or WebP never brings back lost detail.

Why did my photo come out the right way up?

Photographs from phones store an EXIF orientation tag rather than rotating the pixels. This tool reads that tag and applies the rotation, so the result matches what you saw in your gallery.

Is there a size limit?

Very large images are scaled down to stay within 16,777,216 pixels (about 16.7 million), because some browsers, notably iOS Safari, produce a blank image beyond that. The tool applies the cap in every browser and does not warn you. The aspect ratio is kept.

Sources

  1. Microsoft — Bitmap storage
  2. Microsoft — BITMAPINFOHEADER and row stride
  3. WHATWG — HTML canvas serialization

This guide explains published rules in plain language. It is not financial, legal or official advice — rules change, so confirm with the agency linked above before you commit.

Related image tools