Base64 Tools

Base64 Encoding Use Cases

Image Data URLs

Encode images for embedding directly in HTML or CSS.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==

API Authentication

Encode credentials for Basic Authentication headers.

Basic dXNlcm5hbWU6cGFzc3dvcmQ=

Data Transfer

Safely transfer binary data as text.

SGVsbG8gV29ybGQh (decodes to 'Hello World!')