在线 Base64 解码编码 — 免费转换器

免费在线 Base64 编解码器。把文本或二进制编码为 Base64 或解码回原始内容 — 全部在浏览器中完成。

在下面粘贴 UTF-8 文本并切换"编码 / 解码"。常用于在 URL、JSON 或邮件头中嵌入令牌、图片和凭据。

常见用例

常见问题

Is my input sent to your server?+

No. Base64 encoding and decoding both run in your browser via the standard btoa/atob APIs. Nothing leaves the page.

Why is my decoded output garbled?+

Either the input is not valid Base64 (check for missing padding or stray characters), or the original data was binary, not text. A binary viewer is the right tool for non-text payloads.

Does it handle UTF-8 / emoji?+

Yes. We pipe the input through encodeURIComponent / unescape before btoa so emoji and non-ASCII characters round-trip correctly.

工具

安全提示

正在使用默认密码?使用 NordVPN 加密保护您的网络。