🔐
Base64 Encoder/Decoder
Online Base64 encoder/decoder with UTF-8 Chinese and Emoji support, filter non-Base64 characters
0
0
# Base64 Encoder/Decoder
Online Base64 encoder/decoder with UTF-8 support for Chinese characters and Emoji.
## Features
- ✅ UTF-8 safe encoding (Chinese/Emoji)
- ✅ Filter non-Base64 characters when decoding
- ✅ ASCII/UTF-8 charset option
- ✅ One-click swap input and output
- ✅ Copy result
- ✅ Pure client-side, no data upload
## How to Use
1. Paste the text to encode/decode in the input box
2. Select charset (UTF-8 or ASCII)
3. Click "Encode" or "Decode"
4. Copy or swap the result
## FAQ
### What is Base64?
Base64 is an encoding method that represents binary data using 64 printable ASCII characters. It is widely used for transmitting binary data over text-based protocols, such as email attachments and URL parameters.
### Why is UTF-8 encoding needed for Chinese?
Base64 encodes raw bytes. Chinese characters take 3 bytes in UTF-8. This tool automatically converts text to UTF-8 bytes before encoding, ensuring consistent round-trip encoding/decoding.