Base64编解码
编码和解码Base64
输入
0 B
输出
0 B
输入: 0 chars输入 大小: 0 B
About Base64 Encoding
Base64 encodes binary data as ASCII text using 64 printable characters (A–Z, a–z, 0–9, +, /). It is commonly used to embed binary assets in JSON, XML, HTML, or email payloads where binary data cannot be transferred directly.
File Upload
Switch to Encode mode and click Upload to convert any binary file — images, PDFs, archives — into a Base64 string. The encoded result can be used directly in data: URIs or API payloads.
FAQ
- 如何在线编码或解码Base64?
- 将文本粘贴到Toollo的Base64工具中,即可立即获得编码或解码的结果。一键切换编码和解码模式。完全免费,无需注册。
- Base64编码有什么用途?
- Base64编码将二进制数据转换为ASCII文本,常用于电子邮件附件、data URI、API身份验证令牌以及在JSON或XML中嵌入数据。
- 在Toollo上解码Base64字符串安全吗?
- 安全的,所有编码和解码都在浏览器中完成,不与服务器通信。您的数据完全保持私密,因此处理令牌、凭据或任何敏感内容都是安全的。