这个工具做什么?
| 直接答案 | Base64 解码将 Base64 字符集中的字符转换回原始的 UTF-8 字节。 |
| 关键事实 | 无效字符或错误的填充会使 Base64 字符串无法解码 — 解码器会报告错误。 |
| 处理 | 在您的浏览器中本地运行;不会将数据发送到服务器。 |
如何使用
- 将 Base64 字符串粘贴到输入框中。\n点击从 Base64 解码。\n复制解码后的文本。
示例
输入
SGVsbG8sIHdvcmxkIQ==
输出
你好,世界!
Who is this for?
This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.
Developers verifying file checksums, DevOps engineers generating secrets, and security students learning encoding basics — all without uploading data to a server.
常见问题
我可以解码数据 URI 吗?
粘贴逗号后面的部分;前缀(data:image/png;base64,)是元数据,不是有效载荷。
为什么我得到的是乱码?
输入可能不是有效的 Base64,或者使用了不同于 UTF-8 的编码(例如 Latin-1)。
它能解码 Base64URL(- 和 _)吗?
期望标准的 Base64;Base64URL 变体需要先将 -/_ 转换为 +/。