DevToolBox免费
博客
Ad Space

Base64 编码 / 解码

将文本编码为 Base64 或将 Base64 字符串解码为纯文本。支持 UTF-8。

关于 Base64 编码

Base64 是一种将二进制数据转换为 ASCII 字符串的编码方案。常用于在 URL、电子邮件、HTML 和 API 中编码数据。本工具支持完整的 UTF-8 编码和解码。

Ad Space

使用方法

  1. Enter your plain text in the top field to encode, or Base64 string in the bottom field to decode
  2. Click 'Encode' to convert text to Base64, or 'Decode' to convert Base64 back to text
  3. 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

常见问题

Ad Space