uuutil ← all tools

Image ⇄ Base64

Pick or drop a file and get its Base64, the ready-to-paste data: URI, and CSS/ snippets for images — with a live preview and MIME detection you can override. Or paste Base64/a data: URI to preview and download the decoded file.

Privacy ledger

Data acquired None.
Libraries used Lit 3 — bundled into the tool file itself.
Data stored None.
Data transmitted None.

Use it on your own page

Download the tool as a single self-contained HTML file: readable source with the Lit library included, zero network requests — it works opened straight from your disk, and you can customize everything.

Prefer the hosted widget? One script tag embeds it and stays up to date:

<script type="module" src="https://uuutil.com/tools/image-base64.js"></script>
<uu-image-base64 lang="en"></uu-image-base64>

Source license: MIT — free to use, modify and redistribute; keep the license notice in copies.