📄 XML 转 Base64XML to Base64
把 XML 文本编成 Base64(UTF-8)。Encode XML text as Base64 (UTF-8).
使用说明与常见问题How-to & FAQ
「XML 转 Base64」是什么?What is the XML to Base64 tool?
把 XML 文本编成 Base64(UTF-8)。Encode XML text as Base64 (UTF-8).
如何使用「XML 转 Base64」?How do I use the XML to Base64 tool?
在「XML 转 Base64」中,先在上方输入或粘贴内容,然后点击「编码」、「复制」按钮即可。In the XML to Base64: Type or paste your input above, then click "Encode", "Copy".
用什么编码?Which encoding is used?
XML 文本先按 UTF-8 编码成字节,再转成 Base64,所以中文等非 ASCII 字符也能正确往返。Base64 结果比原始字节大约多三分之一。The XML text is encoded as UTF-8 bytes and then as Base64, so non-ASCII characters such as Chinese round-trip correctly. The Base64 output is about a third larger than the bytes.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「XML 转 Base64」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The XML to Base64 runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「XML 转 Base64」免费吗?需要注册吗?Is the XML to Base64 free? Do I need an account?
「XML 转 Base64」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The XML to Base64 is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.