跳到主要内容
open-toolsopen-tools

Base64 编码/解码

将文本编码为 Base64,或将 Base64 解码为文本 — 即刻完成,就在浏览器中

完全在你的浏览器中运行。 不会上传任何内容 — 你的输入不会离开这台设备。
通过 API 使用

API · 同样任务,在你的机器上

# This tool runs in your browser — no upload needed.
# Prefer it programmatically? There's a direct JSON API:
curl -X POST https://api.open-tools.app/api/base64 \
  -H "Content-Type: application/json" \
  -d '{"text":"hello","operation":"encode"}'

# Response: {"result":"aGVsbG8="}