Developer Tools
Handy tools to help with your development workflow
Available Tools
Select Tool
Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to plain text
Common Use Cases
Data URLs
Embed images and other binary data directly in HTML/CSS:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==" />
API Authentication
Encode credentials for Basic Authentication headers:
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Binary Data in JSON
Store binary data in JSON strings for API payloads:
{"data": "SGVsbG8gV29ybGQ=", "type": "text"}
File Uploads
Convert files to strings for web storage or transmission:
const fileData = btoa(fileReader.result);