Image to Base64 Converter

Encode images to Base64 or decode Base64 strings back to images. Supports PNG, JPEG, WebP, GIF, and SVG.

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

Related Tools

Building something that handles sensitive data?

Plan your security and architecture before writing code — run a Discovery session.

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.