Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to text with our simple online tool

🔄

Encode & Decode

Convert text to Base64 encoding and decode Base64 back to original text

Instant Results

Get your Base64 encoding/decoding immediately with client-side processing

📋

1-Click Copy

Copy results to clipboard with a single click

🔒 Client-Side Processing
All encoding/decoding is done in your browser using JavaScript. Your data never leaves your device, ensuring maximum privacy and security.

Encode to Base64
Decode from Base64
Your result will appear here...
💡 For developers: Encode/decode Base64 with:
echo -n "text" | base64
# Encode text to Base64
echo -n "dGV4dA==" | base64 -d
# Decode Base64 to text
base64 filename.txt
# Encode file content to Base64

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. It is commonly used to encode data that needs to be stored and transferred over media that are designed to deal with text.

Base64 Encoding Characteristics

Common Uses of Base64

Base64 encoding is widely used in various applications and protocols:

Application Usage
Email (MIME) Encoding email attachments for transmission via SMTP
Web Development Embedding images and other binary data directly in HTML/CSS (Data URLs)
JSON APIs Transmitting binary data in JSON format, which only supports text
Basic Authentication Encoding username and password in HTTP headers

ℹ️ Note: Base64 is an encoding scheme, not encryption. It does not provide security or confidentiality for your data. For secure transmission of sensitive data, use encryption (like TLS/SSL) in addition to Base64 encoding.

🛠️ Free Smart Tools

English English