Convert TIFF to BMP

Converting a TIFF to BMP is a change of wrapper rather than of picture: both store pixels without compressing them, so nothing is re-encoded. What changes is that BMP is 24-bit and single-image, so transparency is filled with a background colour, 16-bit channels drop to 8, and only the first page of a multi-page TIFF is read.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy The colours survive exactly. BMP cannot carry transparency, so anything cut out is filled with the background colour.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Only the first page is converted; the rest of a multi-page TIFF is not carried over.

Up to 100 files at once. Mixed formats are fine.

What TIFF to BMP actually does

TIFF 601 KBBMP 450 KB 25% smaller

A photographic scene — smooth gradients, soft edges, grain. This is the case BMP is designed for or against, and the figures show which. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

TIFF 601 KBBMP 450 KB 25% smaller

A transparent background and a gradient across the shape. BMP either keeps both, keeps one, or fills the transparency with a solid colour — which is the difference that catches people out. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

TIFF 601 KBBMP 450 KB 25% smaller

Flat colour and hard edges, as in an interface, a chart or a logo. Very different behaviour from the photograph above, and the reason the answer is "it depends what is in the file". Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

Nobody chooses BMP over TIFF; something else does

There is no picture-quality argument for this conversion. TIFF is the more capable format on every axis — more colour models, more bit depths, more pages, real compression options — and BMP is a Microsoft format from 1987 that stores a rectangle of pixels and almost nothing else. If you are here, a piece of software or hardware has told you what it accepts.

That is a legitimate and common situation. Laboratory and inspection applications, machine-vision tools, embedded displays, industrial controllers and a long tail of Windows programs written in the 1990s read BMP and only BMP, precisely because it is trivial to parse: a header, then the pixels, with no codec to license and no library to link. The conversion exists to satisfy that requirement, and the rest of this page is about doing it without silently damaging the image.

Exactly what kind of BMP comes out

A 24-bit uncompressed BMP with a BITMAPINFOHEADER — the plain baseline that every reader ever written understands. Three details of the format are worth knowing if you are writing the code that consumes it: the rows are stored bottom to top, the channels are ordered blue, green, red rather than red, green, blue, and every row is padded out to a multiple of four bytes.

All three are in the specification rather than choices made here, and all three are the usual cause of an image that arrives upside down, blue where it should be red, or skewed diagonally. The resolution field is written as 2,835 pixels per metre, which is 72 dpi, and it is not carried across from the TIFF. Nothing much reads that field, but writing a zero into it makes some older viewers reject the file, so a real number goes in.

The BMP is usually smaller than the TIFF, which is unexpected

Both formats are uncompressed as they are written here, so the file size is arithmetic rather than a judgement. This site’s own 480 by 320 samples come out at 615,400 bytes as TIFF and 460,854 as BMP, every time, whatever the picture is.

The difference is the alpha channel: the TIFF written here stores four channels at 8 bits each and BMP stores three, so a quarter of the bytes disappear along with the transparency. Against a TIFF that was compressed with LZW or Deflate — which is most TIFFs from real scanners — the direction reverses sharply and the BMP can be several times larger. That is not a problem to solve, it is the format doing what it is for: a BMP is meant to be read without any decoding work at all.

Transparency is filled before the BMP is written

BMP as produced here carries no alpha, so any transparency has to become something. The image is composited onto a solid background colour first, in the same pass as any resizing, which avoids the fringe of half-transparent pixels that flattening after a scale would leave behind.

The colour is white by default and there is a control for it. Choose it deliberately rather than accepting the default when the destination is a machine: an inspection routine that thresholds the image, or a display driver that treats one colour as its key, will behave completely differently against white than against black or magenta. If the transparency itself was the information — a mask, a segmentation, a cut-out region — then BMP cannot carry it at all and TIFF to PNG is the pair that can.

Sixteen-bit scans lose their low byte on the way to BMP

A great deal of instrument output is 16 bits per channel, and that is often where the measurement lives rather than where the picture lives. This pipeline decodes to 8 bits by keeping the high byte of each sample: measured on a 16-bit greyscale TIFF, a stored value of 30,000 comes back as 117.

For anything that will be looked at by a person, that is invisible; a screen shows eight bits. For anything that will be measured by software — densitometry, fluorescence intensity, a depth map, an elevation raster stored as a TIFF — it is a catastrophic and silent loss, and BMP could not have carried the extra bits anyway. If the destination software genuinely needs 16-bit data and genuinely only reads BMP, those two requirements are in conflict and the software is worth re-reading on the point.

Only the first page of a multi-page TIFF becomes a BMP

TIFF is a container and holds several images per file; BMP holds one. The reader here takes page one and stops, with no error and nothing in the interface to mention that more existed. Scanners, fax gateways and records systems all produce multi-page TIFFs as a matter of course, so this is worth checking before a batch rather than after.

Splitting first is the fix — ImageMagick, IrfanView or the scanner’s own software will do it — and then each page converts to its own BMP. Layers go the same way and are flattened into the composite, which is almost always what was wanted. If the pages belong together and the destination can be persuaded to accept it, TIFF to PDF is the conversion that keeps all of them in one file.

Colour models: what a CMYK or greyscale TIFF becomes

A greyscale TIFF converts cleanly: the grey value is written into all three channels, so the BMP is grey and three times larger than it needs to be. A one-bit black-and-white scan does the same and is the worst case for size, because a fax page that occupied 40 kB as Group 4 becomes several megabytes of 24-bit pixels.

A CMYK TIFF — the kind a print workflow produces — is converted to RGB with a fixed formula rather than through the ICC profile embedded in the file. The picture is recognisable and the colours are not accurate, typically flat in the deep shadows. Since BMP has no concept of a colour profile either, there is nowhere for the correct answer to be stored even if it were computed. For anything colour-critical, do the conversion in software that honours the profile and bring the result here as an RGB TIFF.

What the TIFF reader will accept before writing a BMP

TIFF readers disagree with each other more than any other format’s, so the coverage here was checked against files rather than against the specification. Uncompressed, LZW, Deflate, PackBits, JPEG-in-TIFF and Group 3 and Group 4 fax all decode, in colour, greyscale and one-bit black and white, tiled or in strips.

That covers essentially everything a document scanner, a camera tether or an archive produces. What it does not cover is a TIFF that is really something else wearing the extension — a camera raw file, which is structurally a TIFF and needs demosaicing rather than decoding. Those have their own pages under their own extensions. If a file is refused here, that is usually why.

Converting scans to BMP without them leaving the machine

Both halves run in the tab: utif2 reads the TIFF, and the BMP is written by hand in a few dozen lines because the format is a header and a block of pixels and does not justify shipping an image library. Nothing is uploaded, which matters when the images are patient records, inspection results or anything under a client agreement.

The free limit is 100 MB per file, and BMP output has no size ceiling of its own — unlike WebP, which stops at 16,383 pixels on an edge. Batches work: drop a folder, each file converts with its own progress row, and the results come back as a ZIP. Since BMP output is exactly three bytes per pixel, a batch of large scans produces a very large ZIP, which is worth knowing before starting one.

How to convert a TIFF into a BMP

  1. Split a multi-page TIFF first — only page one is converted.
  2. Set the background colour if the TIFF has transparency and the destination will key on it.
  3. Drop the file here and check the result opens in the target software before converting the whole batch.

TIFF against BMP: two uncompressed formats with different rules

TIFF compared with BMP
TIFFBMP
Full nameTagged Image File FormatWindows Bitmap
File extension.tif, .tiff.bmp, .dib
Media typeimage/tiffimage/bmp
CompressionLossless — nothing is discardedUncompressed
First published19861987
Published byAdobeMicrosoft
SpecificationTIFF 6.0
LicensingPublished, not standardisedPublished, not standardised
Standing todayCurrentLegacy, still read everywhere
Bit depth328
Colour it can describeRGB, CMYK, greyscale, LabRGB, indexed palette
Opens in a browserSome browsersEvery browser
Considered insteadPNG, PDF, DNGPNG

What is lost

BMP has no alpha channel. A transparent TIFF comes out with those areas filled in — white unless something else is set — and no setting in BMP brings the transparency back.

TIFF can hold CMYK; BMP is RGB. A file prepared for a printing press converts to screen colour, and the separations have to be made again in the print workflow.

TIFF carries up to 32 bits per channel and BMP stores 8. The extra precision is what survives heavy correction without banding, so the conversion is best made after the editing rather than before it.

Opening the result

BMP opens in every current browser. TIFF has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

The usual programs do not overlap: TIFF opens in Adobe Photoshop, Affinity Photo and ImageMagick, BMP in Microsoft Paint, GIMP and IrfanView — so whoever receives the result needs something from the second list.

File size and quality

BMP stores the samples raw, so the file grows substantially without gaining anything. It is the right direction only when a program on the far side refuses TIFF, which is the usual reason for doing it.

What each format is for

The two are aimed at different work: TIFF at print, scanning and archiving, BMP at moving data between programs. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

TIFF is Adobe's format, published in 1986. It records 32 bits per channel.

BMP comes from Microsoft and dates from 1987. Microsoft Paint, GIMP and IrfanView all read it.

TIFF to BMP: depth, transparency and file size

Are my TIFF files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is jSquash, WebAssembly builds of the reference image codecs; your browser fetches it once and caches it.

Is anything lost converting TIFF to BMP?

The pixel values survive — neither format compresses them here — but three things do not. Transparency is dropped and filled with the background colour, 16-bit channels are reduced to 8, and only the first page of a multi-page TIFF is read.

What kind of BMP is written?

24-bit, uncompressed, with a BITMAPINFOHEADER. The rows run bottom to top and the channels are stored blue-green-red with each row padded to a multiple of four bytes — all three are in the BMP specification rather than quirks of this converter, and every reader expects them.

Is the BMP bigger than the TIFF?

Usually smaller, which surprises people. Both are uncompressed here, but this site’s TIFF writer stores four channels and BMP stores three: the sample files are 615,400 bytes as TIFF and 460,854 as BMP at the same 480 by 320 pixels. Against a compressed LZW TIFF the BMP will be much larger.

What happens to a transparent area?

It is filled. BMP as written here has no alpha channel, so anything transparent is composited onto the background colour before encoding — white by default, and changeable in the options. Choose the colour deliberately if the target software will threshold or key on it.

What DPI does the BMP claim?

72, written as 2,835 pixels per metre. The value is not carried over from the TIFF. Almost nothing reads it, but a zero there makes some older viewers refuse the file outright, which is why a real number is written rather than nothing.

Will a 16-bit scientific TIFF keep its depth?

No. Everything here decodes to 8 bits per channel by keeping the high byte, so a stored value of 30,000 becomes 117. If the measurement lives in those low bits, this conversion destroys it and no setting prevents that.

More about these formats

Where these figures come from

The claims this page makes about TIFF and BMP are checkable, and these are the documents that settle them.

  • TIFF, Revision 6.0

    Library of Congress, Sustainability of Digital Formats — TIFF’s tag structure and its many compression options