Real Local Tools

Image ⇄ Base64 Converter

Runs locally

Encode images as Base64 data URIs or decode a Base64 string back into an image — locally.

Drop an image here, click to browse, or paste from clipboard

Related tools

View all (16)

Turn any image into a Base64 data URI ready for CSS or HTML embedding, or paste a data URI to preview and download the decoded image. Conversion happens entirely in your browser.

Frequently asked questions

What is a Base64 data URI used for?

Embedding an image directly in HTML, CSS or JSON — icons in stylesheets, email templates, single-file demos — with no separate file to host.

Should I Base64-encode large photos?

No. Base64 inflates data by about 33% and the result cannot be cached separately, so it is best kept to small assets like icons and logos.

Is my image uploaded?

No. Encoding and decoding run locally in your browser.