Base64 编码与解码

输入文本即可编码为 Base64,或粘贴 Base64 字符串解码回文本。也可以拖入文件转为 Base64 数据 URL。

Drop a file here or click to upload

Any file type supported

功能特性

Text encode / decode
File to Base64
Base64 to file download
Auto-detect input
Show encoded size

使用方法

1. 在顶部选择「编码」或「解码」模式。

2. 在左侧输入文本,或将文件拖到上传区。

3. 点击「执行」—— 结果显示在右侧。

4. 点击「复制」即可复制结果。

常见问题

What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format.
Is Base64 encryption?
No, Base64 is an encoding, not encryption. It does not provide security — anyone can decode it.

相关工具