Base64解码
将Base64字符串解码回纯文本(支持UTF-8)。粘贴一个或多个Base64值——每行分别解码。
输入
多个值?请将每个Base64字符串放在单独的一行。
输出
注意:请妥善处理解码后的内容——它可能包含敏感或可执行的信息。
使用此工具的更多方式
REST API
curl -X POST https://api.iotools.cloud/v1/tool/base64-decode \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"base64String": "SGVsbG8gV29ybGQh"
}'替换成您账户中的密钥。工具的字段即为请求体——没有额外包装。
让 AI 代理执行
Use the IOTools `base64-decode` tool (Base64 Decode) on this input:
YOUR_INPUT_HERE将此粘贴给任何已连接 IOTools MCP 服务器的代理,再加上您的输入内容。
嵌入式小组件
<iframe
src="https://iotools.cloud/embed/base64-decode/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="Base64解码 — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>把它放到您自己的页面上——免费,无需密钥,只需保留一个反向链接。
| 每次 API/MCP 调用费用 | 5 积分起 |
|---|---|
| 需要更多积分? | 查看定价 |
也可通过
使用指南
什么是Base64?
Base64是一种编码方式,使用64个安全的ASCII字符(A–Z、a–z、0–9、+、/)来表示二进制数据。它无处不在:电子邮件附件、数据URL、JWT令牌、API有效负载和配置文件。这是编码,而不是加密——任何人都可以反转它,这正是此工具的功能。
如何使用
- 将Base64字符串粘贴到输入框(允许空格和换行)。
- 点击解码——纯文本结果显示在右侧,完全支持UTF-8以处理重音符号、表情符号和非拉丁文字。
- 通过将每个值放在自己的行上,可以一次解码多个值。
何时使用
- 检查JWT段或API响应字段的有效负载。
- 读取电子邮件源或
.env/YAML配置中的Base64块。 - 检查数据URL内部的内容,然后再信任它。
注意: 解码后的内容可能是敏感的或可执行的——相应地处理它。
隐私
解码完全在您的浏览器中进行;您的数据永远不会接触服务器。
工作流的一部分
全部工具集Eighteen tools for the things people mix up daily — encoding versus encryption, which hash belongs on a password, and what an HMAC is actually for. Everything runs in your browser, so nothing you paste is uploaded.
Thirty-one tools for everything a URL can become: its raw HTML, clean text, Markdown, structured JSON or XML, a screenshot, a PDF, or a QR code — plus tools to inspect its meta tags, heading outline, links, and IP addresses without opening it. Every live-fetch tool here runs server-side, so it works even on sites that block cross-origin requests from a browser. Round it out with a combined multi-scheme encoder/decoder and the focused single-purpose tools underneath it.