Base64 编码 / 解码
将文本编码为 Base64 或将 Base64 字符串解码回纯文本。支持 UTF-8。免费使用,无需注册。
About Base64 Encoding
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 URLs, emails, HTML, and APIs. You can also decode Base64 from the command line using openssl base64 decode: run 'echo <encoded> | openssl base64 -d'. This online Base64 encoder and decoder supports full UTF-8, handles Base64 padding (the trailing = characters), and works entirely in your browser. Whether you need to base64 encode a file, decode an API response, or convert data for URL-safe transport, this tool handles it instantly.
常见问题
💬 User Feedback
评价此工具
3.7 / 5 · 174 人评价
Recommended
CloudflareFree CDN & DDoS protection保持更新
获取每周开发技巧和新工具通知。
无垃圾邮件,随时退订。
Enjoy these free tools?
☕Buy Me a Coffee使用方法
- Enter your plain text in the top field to encode, or Base64 string in the bottom field to decode
- Click 'Encode' to convert text to Base64, or 'Decode' to convert Base64 back to text
- Copy the result with the copy button
常见用途
- Encoding images for embedding in HTML/CSS
- Encoding data for URL parameters
- Transmitting binary data in JSON APIs
- Email attachment encoding