TIFF to Base64 Converter
Batch convert TIFF images to Base64 encoded strings
Drop your TIFF files here and get a Base64 data URL back — the kind you can paste straight into an <img> tag, a CSS rule, or a JSON payload. Since browsers don't render TIFF natively, this converts each file to PNG first, then encodes the result as a Base64 string. Batch mode handles multiple files in one go.
And everything runs in your browser. Nothing gets uploaded.
How It Works
Your TIFF is parsed client-side using UTIF.js, which supports multi-page and compressed TIFF variants. The decoded pixel data gets drawn onto a hidden Canvas element, then exported as a PNG. That PNG binary is converted to a Base64-encoded data URL — ready to drop into an <img> tag, a CSS rule, or an API request body.
Examples
Embedding a scanned receipt in an HTML email
Your accounting app exports scanned docs as TIFF. The email template needs an inline image.
receipt_march2026.tiff (340 KB, 1-page grayscale scan)
data:image/png;base64,iVBORw0KGgo... (~180 KB text string)
Storing a product photo in a JSON config
A CMS requires image data as Base64 inside a JSON field. The designer handed you a TIFF.
product_hero.tif (2.1 MB, CMYK color, 300 DPI)
data:image/png;base64,iVBORw0KGgo... (paste directly into your JSON "image" field)
Batch-converting satellite tiles for a web dashboard
GIS exports gave you 8 TIFF tiles. Your mapping dashboard expects Base64 strings for each overlay layer.
tile_01.tiff through tile_08.tiff (8 files, ~500 KB each, 16-bit grayscale)
8 separate Base64 data URLs — use "Copy All" to grab them in one go
Who Uses This
Embed TIFF-sourced images inline in HTML templates and CSS without hosting separate files.
Convert scanned logos and signatures from TIFF to Base64 for inline email images that don't get blocked.
Turn TIFF map exports into Base64 strings for web-based mapping dashboards and reports.
Pack image data into JSON payloads when an endpoint expects Base64 instead of a file upload.
Common Mistakes
If you strip data:image/png;base64, from the front, browsers won't know it's an image. Copy the full string — prefix included — when using it in src attributes or CSS.
Base64 adds about 33% to the file size. A 3 MB TIFF becomes a very long string. For large images, consider linking to a hosted file instead of inlining the Base64 — it keeps your HTML or JSON manageable.
The converter renders the first page of a multi-page TIFF. If you need every page, split the TIFF into individual files first, then batch-convert them here.
Technical Details
- Processing: 100% client-side — nothing is uploaded
- TIFF Decoding: UTIF.js (supports LZW, ZIP, JPEG compression)
- Output Format: PNG data URL (data:image/png;base64,...)
- Browser Support: Chrome, Firefox, Safari, Edge
- Batch Mode: Convert and copy multiple files at once
Frequently Asked Questions
Can browsers display TIFF images directly?
No. Chrome, Firefox, and Edge don't render TIFF natively. Safari has partial support, but it's inconsistent. Converting to Base64 (as a PNG data URL) is the most reliable way to get TIFF content onto a web page.
How much bigger is the Base64 string compared to the original file?
Base64 encoding itself adds roughly 33% overhead. But since the TIFF is first re-encoded as PNG, the final size depends on image content. Simple graphics compress well as PNG and may actually produce a smaller Base64 string than the original TIFF. Photo-heavy TIFFs usually get larger.
Is it safe to use this with confidential documents?
Yes. The entire conversion happens in your browser. No files are sent to a server, no data leaves your machine. Close the tab and everything is gone.
What TIFF compression types are supported?
The UTIF.js library handles most common TIFF compressions — LZW, ZIP/Deflate, JPEG, and uncompressed. Some rare or proprietary compression schemes might not decode correctly, but standard scanner and camera TIFFs work fine.
Can I use the Base64 output in CSS background-image?
Absolutely. Wrap it in url() like this: background-image: url(data:image/png;base64,iVBORw...);. Works in all modern browsers. Just keep in mind that very large Base64 strings will bloat your CSS file size.
Convert TIFF images to Base64 encoded strings in batch. Copy individual results or all at once. The output is a PNG data URL that can be embedded directly in HTML, CSS, or API calls. All processing runs in your browser using UTIF.js — nothing is uploaded to any server.