Developer Guide: Embed Images with Base64

Base64 image encoding converts an image file into a text string you can embed directly in HTML or CSS, eliminating a separate HTTP request. Drop a file into our encoder to convert it instantly, right in your browser, with nothing uploaded to a server.

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAE..." />

When to Use Base64?

Use our Base64 Converter for:

Encode/Decode Now

Open Base64 Tool