Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings back to text. All processing happens locally in your browser.
Encoding Options
Line Breaks
Statistics
Input: 0 characters | Output: 0 characters
Input: 0 characters | Output: 0 characters
How to Use
1
Enter Text
Paste your text or Base64 string into the input area.
2
Encode or Decode
Click Encode to convert to Base64, or Decode to convert back.
3
Copy Result
Copy the result to clipboard or download as a text file.
Use Cases
Data URIs
Embed images in HTML/CSS using Base64 data URIs.
Embed images in HTML/CSS using Base64 data URIs.
Email Attachments
MIME encoding for email transmission.
MIME encoding for email transmission.
API Authentication
Encode credentials for HTTP Basic Auth headers.
Encode credentials for HTTP Basic Auth headers.
URL Parameters
Safely encode binary data in URL query strings.
Safely encode binary data in URL query strings.
✓ Copied to clipboard!