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使用说明
Paste your plain text into the input area and click Encode to convert it to Base64.
To decode, paste a Base64 string and click Decode to get the original text.
The tool auto-detects whether your input looks like Base64 and suggests the appropriate action.
Click Copy to copy the result to your clipboard.
All processing is done locally in your browser using JavaScript.
将纯文本粘贴到输入区域,点击 Encode 转换为 Base64。
要解码,粘贴 Base64 字符串并点击 Decode 获取原始文本。
工具会自动检测输入是否像 Base64 格式,并建议适当的操作。
点击 Copy 复制结果到剪贴板。
所有处理都在您的浏览器中通过 JavaScript 本地完成。
Frequently Asked Questions常见问题
What is Base64? — Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. It is commonly used to encode data in emails, URLs, and API payloads.
Is Base64 encryption? — No. Base64 is encoding, not encryption. It can be easily decoded by anyone. Never use Base64 to store sensitive information like passwords.
Does it support Unicode/Chinese characters? — Yes. The tool properly handles UTF-8 encoding, so Chinese characters, emojis, and other Unicode text are encoded and decoded correctly.