Image to Base64

Convert images to Base64 data URIs, HTML img tags, and CSS background-image properties. Reverse mode included. All client-side.

Base64
Image

Drop an image or click to browse

PNG, JPEG, WebP, GIF, SVG

How It Works

1

Upload an image

Drag-and-drop or select PNG, JPEG, WebP, GIF, or SVG files.

2

Choose output format

Get raw Base64, data URI, HTML <img> tag, or CSS background-image property.

3

Copy or reverse

Copy any output format. Use reverse mode to paste a Base64 string and get the image back.

FAQ

Built & Maintained by Varstatt

Varstatt is a one-person product studio run by Jurij Tokarski, product engineer since 2011. These tools are free and open — no signup, no catch.