Skip to content
Toolbeam

Convert Image to Base64

Encode an image to a Base64 data URI. Paste it straight into your CSS, HTML, or JSON. Free, in your browser.

Loading tool…

Base64 encoding turns an image into a text string you can drop straight into HTML, CSS, or JSON, with no separate file to request.

It's handy for tiny icons, email templates, and data URIs. You get the raw Base64 plus a data URI that's ready to paste.

Encoding runs on your device, so your image is never uploaded.

Related tools