Base64 to TIFF Converter

Save Base64-encoded scans and print files as TIFF, or convert any image your browser can display into an uncompressed RGBA TIFF. Everything is processed on your device.

Runs entirely in your browser. Nothing is uploaded.

How to use

  1. Paste the Base64 string or the data:image/tiff;base64 URI.
  2. Check the detected format and size. A TIFF may show no preview, which is normal in most browsers.
  3. Choose Original to save a TIFF exactly as received, or keep TIFF to convert a PNG, JPEG, WebP or other image.
  4. Download the .tiff file.

Spotting TIFF data

A TIFF file starts with a byte-order mark. Little-endian files begin with II (from Intel) and encode to SUkq; big-endian files begin with MM (from Motorola) and encode to TU0A. Base64 TIFFs come from document scanners, fax services, OCR pipelines, archive systems and GIS tools that work with GeoTIFF. The MIME type is image/tiff, and the extensions .tif and .tiff are interchangeable.

Why the preview may be missing

Chrome, Edge and Firefox cannot display TIFF images; Safari is the main exception. The tool still recognises the format from its header, shows the decoded size and saves the file when you choose Original, so you can open it in an image viewer, a PDF tool or an editor afterwards.

Converting a TIFF into PNG or JPEG requires the browser to decode it first, so that only works in a browser that can display TIFF. Multi-page TIFFs, common for scanned documents and faxes, keep all their pages in the Original download. A conversion can only use the image the browser decodes, which is usually the first page.

Converting to TIFF

The opposite direction works in every browser: any image the browser can display, from PNG and JPEG to WebP, GIF, AVIF, BMP or SVG, can be saved as TIFF. The output is uncompressed RGBA with 8 bits per channel, so expect about 4 bytes per pixel. It does not use LZW or ZIP compression and does not convert to CMYK; if a print shop asks for CMYK, convert the file in a professional image editor.

// Go: write Base64 TIFF data to disk
data, err := base64.StdEncoding.DecodeString(b64)
if err != nil {
    log.Fatal(err)
}
os.WriteFile("scan.tif", data, 0o644)

Frequently asked questions

Why can I not see a preview of my TIFF?

Most browsers do not support TIFF, so the preview stays empty. The data is still decoded correctly, and the Original download gives you the complete file.

Can I convert a Base64 TIFF to PNG or JPG?

Only if your browser can decode TIFF, as Safari does. Otherwise, download the original and convert it with desktop software.

Is the TIFF output compressed?

No. Converted files are uncompressed RGBA, which virtually every TIFF reader supports but which produces large files. A 3000 × 2000 pixel image is about 24 MB.

Are multi-page TIFFs supported?

They are kept intact when you download as Original. Conversions use a single page.

How do I encode a TIFF as Base64?
Use TIFF to Base64 to get a raw Base64 string or a data URI.