Diysb Tools

Base64 编码器/解码器

使用 Base64 编码对文本进行编码或解码。

文本工具

什么是Base64?

Base64 是一种编码方案,它将 ASCII 字符串格式的数据转换为 radix-64 表示形式。虽然 Base64 也可以用来编码字符串,但它更常用于编码二进制数据,以便在专门处理文本数据的介质上传输。

输入数据
结果
工具选项
Base64 选项
Base64编码
Base64解码
Base64 编码器/解码器 示例

Encode Text to Base64

Convert plain text to Base64 encoding.

Hello World
Hello World
SGVsbG8gV29ybGQ=
SGVsbG8gV29ybGQ=
Base64 选项
Base64编码
Base64解码

Decode Base64

Decode a Base64 string back to plain text.

SGVsbG8gV29ybGQ=
SGVsbG8gV29ybGQ=
Hello World
Hello World
Base64 选项
Base64编码
Base64解码

Encode URL

Encode a URL string to Base64.

https://example.com
https://example.com
aHR0cHM6Ly9leGFtcGxlLmNvbQ==
aHR0cHM6Ly9leGFtcGxlLmNvbQ==
Base64 选项
Base64编码
Base64解码