Base64 Text Encoder/Decoder

Convert text to and from Base64 encoding, supports UTF-8 Chinese and special characters

Enter Text Content

Characters 0Bytes 0Lines 0

Base64 Encoding Result

Characters 0Bytes 0Lines 0

About Base64

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for encoding data in email, storing complex data in JSON, and embedding binary data in URLs.

Use Cases

  • Email attachments and MIME encoding
  • JSON data storage and transmission
  • URL parameters and API requests
  • Data URI schemes for web resources
  • Binary data encoding for text-based protocols
  • Configuration file encoding

Encoding Features

UTF-8 Support Fully supports Chinese, Emoji, and special characters
Standard Format Contains only A-Z, a-z, 0-9, +, /, = characters
Length Increase Base64 encoding length is about 133% of original text
Real-time Validation Automatic format checking and error detection

Usage Tips

Switch between encode and decode modes using the toggle buttons
Enter text or Base64 content in the input area
Content is automatically processed based on current mode
Supports Chinese, Emoji and other UTF-8 characters
One-click copy results to clipboard
Use verify button to check encoding/decoding consistency