Base64编码/解码
以Base64格式编码和解码文本。
How to Use
- 1
Paste your text into the input field.
- 2
Click Encode to convert text to Base64, or Decode to convert Base64 back to text.
- 3
Copy the result with the copy button.
Features
Encode & Decode
Switch instantly between encoding plain text to Base64 and decoding Base64 back to text.
UTF-8 Support
Handles international characters and emoji correctly using the TextEncoder/TextDecoder API.
Instant Results
Encoding and decoding happens instantly in your browser with no server calls.
Error Detection
Invalid Base64 strings are detected and a clear error message is shown.
FAQ
什么是Base64?
Base64是将二进制数据转换为ASCII文本的编码方案。
支持Unicode吗?
是的,使用TextEncoder/TextDecoder正确处理UTF-8。