User Guide
Overview
Base64 is an encoding scheme that converts binary data into ASCII text format. This tool lets you encode regular text to Base64 or decode Base64 strings back to readable text.
Base64 encoding is essential when you need to transmit data over channels that only support text or when embedding binary data in text formats like JSON or HTML.
When to Use This Tool
- Encoding credentials for HTTP Basic Authentication
- Embedding images or files in HTML, CSS or JSON
- Encoding data for URL-safe transmission
- Decoding Base64 strings from API responses
- Testing and debugging Base64-encoded data
How to Use
To Encode:
- Select "Encode" mode
- Enter your text in the input field
- Click "Encode"
- Copy the Base64 output
To Decode:
- Select "Decode" mode
- Paste your Base64 string in the input field
- Click "Decode"
- View the decoded text
Example
Original Text
Hello World!Base64 Encoded
SGVsbG8gV29ybGQhCommon Use Cases
HTTP Basic Authentication
Credentials are encoded as username:password in Base64 for the Authorization header.
Data URLs
Embed images directly in HTML or CSS using Base64-encoded data URIs.
Email Attachments
MIME email encoding uses Base64 to encode binary file attachments.
JSON/XML Data
Binary data embedded in JSON or XML is typically Base64-encoded.
