Converter

Base64 to ICO Converter // rare formats

Encode or decode Base64 for ICO, TIFF, AVIF, BMP, and web font files — one converter for the formats other tools skip.

🛡 100% client-side ⚡ Instant
🔒 Privacy First: All conversion happens locally in your browser. Your data never leaves your device.

Base64 Output

Filename:

Size:

Base64 Length: characters

Decoded preview

Decoded File

Size:

Format:

Status: ✓ Downloaded

Base64 for Uncommon Formats: ICO, TIFF, AVIF, BMP & Fonts

Formats like ICO, TIFF, AVIF, BMP, and web fonts (WOFF/WOFF2/TTF/OTF) don't get dedicated converters on most Base64 tool sites — but they encode and decode exactly the same way as PNG or JPEG. This page bundles them into one converter so you don't need a separate page per format.

Base64 to ICO — Favicons and App Icons

.ico files can contain multiple image sizes in one file, which is why browsers use them for favicons. Encode an .ico to Base64 to embed it directly with a data URI instead of linking a separate file: <link rel="icon" href="data:image/x-icon;base64,...">. For a standard PNG/SVG favicon workflow instead, see the embed code generator.

Base64 to TIFF and AVIF

TIFF is a high-fidelity raster format common in scanning, printing, and archival workflows — it's rarely used on the web because most browsers can't render it inline, so decoding a TIFF here downloads the file rather than previewing it. AVIF is the opposite case: a modern, highly compressed format built on the AV1 video codec, supported for inline preview in current versions of Chrome, Firefox, and Edge.

Base64 to BMP

BMP is an uncompressed Windows bitmap format — large in file size but simple to decode, since there's no compression algorithm involved. It's commonly generated by legacy Windows applications and screenshot tools.

Base64 for Web Fonts (WOFF, WOFF2, TTF, OTF)

Base64-encoding a font file lets you embed it directly in a CSS @font-face rule, eliminating a separate font-file request:

CSS — @font-face
@font-face {
  font-family: 'MyFont';
  src: url("data:font/woff2;base64,PASTE_BASE64_HERE") format("woff2");
}

As with images, only do this for small font files — Base64 inflates size by ~33%, and an inlined font can't be cached independently of the CSS file that contains it. See Base64 vs binary for the general size tradeoff.

MIME Type Reference

FormatMIME TypeInline browser preview
.icoimage/x-iconYes
.bmpimage/bmpYes
.avifimage/avifYes (modern browsers)
.tiffimage/tiffNo
.woff / .woff2font/woff / font/woff2N/A (font, not image)
.ttf / .otffont/ttf / font/otfN/A (font, not image)

For the common image formats, use the dedicated PNG, JPEG, SVG, WebP, or GIF converters. The full list is on the MIME type list page.

Is This Converter Private and Secure?

Yes. Encoding and decoding both run locally using the FileReader, Blob, and URL.createObjectURL APIs. Nothing is uploaded to a server.

Frequently Asked Questions

How do I convert an ICO file to Base64?

Click Encode, upload your .ico file, and copy the generated Base64 string.

Can I preview the decoded image?

Yes, for formats browsers can render inline — ICO, BMP, and AVIF. TIFF and font files download directly since browsers can't preview them inline.

Why isn't there a separate page for each format?

These formats are used infrequently enough that one shared converter serves them better than six near-empty single-format pages — the encode/decode logic is identical, only the MIME type changes.