← 返回首页

编码工具

GET /b64/encode

将文本进行 Base64 编码。通过 text 参数传入要编码的文本,返回编码后的字符串。

参数

名称位置必填说明
text query 要编码的文本

示例

curl "{{ORIGIN}}/b64/encode?text=hello+world"

GET /b64/decode

将 Base64 编码的字符串解码为原始文本。通过 text 参数传入 Base64 字符串,返回解码后的字符串。

参数

名称位置必填说明
text query 要解码的 Base64 字符串

示例

curl "{{ORIGIN}}/b64/decode?text=aGVsbG8gd29ybGQ="