Loading Image to Base64 Converter...
How to Convert TIFF to Base64 - Step by Step Guide
Upload Your TIFF Image
Start with your TIFF image. Click the "Upload" button or drag the file onto the left panel. Scans, faxed documents, print masters and multi-page archives are the usual candidates, since TIFF keeps full detail.
Check the Output
As soon as the file is read, the Base64 encoded string appears on the right. On the left you see the file size and the format detected from the file's first bytes. The preview itself may stay blank, because most browsers cannot render TIFF.
data:image/tiff;base64, in frontUnderstanding Base64 Encoding
What happens to your TIFF:
SUkq once encoded, a big-endian one TU0ACopy or Download Your Base64 String
"Copy" puts the string on your clipboard and "Download" saves it as a text file. Both hold exactly what you see in the editor.
data:image/tiff;base64,... in an API payload or a document recordWhat is TIFF to Base64 Conversion?
TIFF to Base64 conversion writes the bytes of a Tagged Image File Format file out as plain text, using 64 characters (A-Z, a-z, 0-9, + and /). That text can travel through channels that only carry text: a JSON or XML API, a database column, an email, or a document-management system.
TIFF is common in photography, printing, scanning and medical imaging because it keeps full detail and can hold several pages in one file. Since the page encodes the file as it is, none of that is touched: every page, the colour depth and the tags survive, and decoding the string gives you the same TIFF back.
How TIFF to Base64 Encoding Works
The browser reads the TIFF as a data URL, which is the MIME type (image/tiff) followed by the Base64-encoded bytes. The page keeps only the part after the comma, so you get the bare string and add the prefix where you need it. The first two letters of the file, II or MM, record whether it is little-endian or big-endian; everything after that is the image data, and it all goes into the string unchanged.
Unlike PNG or JPEG, TIFF has almost no native browser support, so a Base64 TIFF is rarely used in an <img> tag on a web page. It is far more useful inside server-side code, document archives, print workflows and APIs, where the string can be stored, moved around and later decoded back to the original file. Base64 adds about a third to the size, which matters with large scans, so weigh that against keeping the file on disk and referencing it by path.
Frequently Asked Questions
How do I turn a TIFF into Base64?
Click Upload and pick the .tif or .tiff file, or drop it onto the left panel. The browser reads the file and the Base64 string fills the editor on the right; Copy or Download hands you exactly that text. There is no button to press and nothing is sent anywhere.
What does a TIFF look like once it is encoded?
A TIFF starts with a two-byte byte-order mark: II for little-endian (the common one, written by most scanners and Photoshop) or MM for big-endian. So a little-endian TIFF string begins with SUkq and a big-endian one with TU0A. If a string you were handed starts with iVBORw0KGgo it is really a PNG, and /9j/ means a JPEG, whatever the file name claimed.
Are all pages of a multi-page TIFF kept?
Yes. A TIFF can hold several images in one file, the way a scanned or faxed document keeps each page, and the encoder copies the whole file byte for byte without opening or redrawing it. Every page, the colour depth, the compression and any tags inside the file all land in the string unchanged, so decoding it gives you the identical multi-page TIFF back.
Why does the preview stay blank for some TIFF files?
Chrome, Firefox and Edge do not draw TIFF images, so the preview panel on the left can be empty even though the encoding worked. Safari is the exception and will show it. The blank preview says nothing about the Base64 output, which is built straight from the file bytes and is correct either way.
How do I use the string in HTML, a database or an API?
For a data URI, put data:image/tiff;base64, in front of the string. The output panel holds only the Base64 part, so you add the prefix yourself. Because browsers rarely display TIFF, the usual home for a Base64 TIFF is a JSON or XML API payload, a database column, a document-management record or a print pipeline rather than an <img> tag on a web page.
What if my file is not really a TIFF?
The format is read from the first bytes of the file, not from its name. A PNG or JPEG saved as .tiff is still encoded exactly, but it is labelled with its real format and a note tells you which data URI prefix to use instead of data:image/tiff. A text file or anything that is not an image is refused, with a pointer to the File to Base64 tool.
Why are TIFF files so large?
TIFF usually stores image data uncompressed or with lossless compression, which keeps full quality but makes the files several times bigger than a JPEG or WebP of the same picture. Base64 then adds about a third again, because every 3 bytes become 4 characters. The page takes files up to 10 MB; a large scan can reach that quickly.
Is my TIFF uploaded anywhere?
No. Your browser reads the file and builds the Base64 string on your own device, so the image is not sent to a server and nothing is kept. A reload leaves the panel empty again.
Need the image back? Base64 to TIFF turns a string into a .tiff file again, and Base64 to Image works out the format for you. For PNG, JPEG, WebP, GIF or SVG files, use Image to Base64.
Related Tools
Image to Base64
Convert images to Base64 encoded strings for embedding in HTML, CSS, and APIs
Base64 to Image
Decode Base64 encoded strings to view and download images (PNG, JPG, GIF, SVG)
PNG to Base64
Convert PNG images to Base64 encoded strings for embedding
Base64 to PNG
Decode Base64 strings to PNG images, see the picture and save the exact file
BMP to Base64
Convert BMP/Bitmap images to Base64 encoded strings
Base64 to BMP
Decode Base64 strings to BMP/Bitmap images