Base64 编解码器

Base64 Encoder/Decoder

文本与 Base64 互转,全部在浏览器本地完成

Encode and decode text to/from Base64 — all processed locally

输入文本Input Text
Base64
编码结果将显示在这里 Encoded result appears here
解码文本Decoded Text
解码结果将显示在这里 Decoded result appears here
💡 本地处理 · 隐私安全 💡 Local Processing · Privacy Safe
所有数据仅在您的浏览器中处理,不会发送到任何服务器。 Base64 常用于在 JSON、URL、XML 中安全传输二进制数据或特殊字符。 All data is processed locally in your browser — never sent to any server. Base64 is commonly used to safely transmit binary data or special characters in JSON, URLs, and XML.

How to Use This Tool 使用说明

  1. Paste your plain text into the input area and click Encode to convert it to Base64.
  2. To decode, paste a Base64 string and click Decode to get the original text.
  3. The tool auto-detects whether your input looks like Base64 and suggests the appropriate action.
  4. Click Copy to copy the result to your clipboard.
  5. All processing is done locally in your browser using JavaScript.

Frequently Asked Questions 常见问题

← Back to all tools← 返回所有工具