Image to Base64 (and back)

Turn an image into a Base64 data URL, or paste Base64 to get the image back. Copy a ready <img> or CSS snippet. Everything runs in your browser — nothing is uploaded.

Drop an image here, or click to choose
Any image — 100% private, nothing leaves your device

Everything runs in your browser. No upload, no sign-up.

How it works

STEP 1

Pick a direction

Choose Image → Base64 to encode a file, or Base64 → Image to turn a string back into a picture.

STEP 2

Add your image or text

Drop an image to get its data URL, or paste a Base64 / data URL to decode it. It all stays on your device.

STEP 3

Copy or download

Copy the data URL, the <img> tag or the CSS snippet — or download the decoded image. Nothing is uploaded.