Skip to main content
返回上级

Base64编码/解码器

转换 between strings and Base64编码, supports 文本输入 and file processing

Input Settings
示例数据
Processing 结果
Base64编码 Knowledge

What is Base64?

Base64 is an encoding method based on 64 printable characters to represent 二进制 data. It converts every 3 字节 to 4 Base64 characters, commonly used for transmitting 二进制 data in text protocols.

应用场景

Base64 is widely used in email attachments, URL parameters, data URIs, small file storage and 其他 scenarios. It ensures data is not corrupted or misinterpreted during transmission.

Encoding Characteristics

Base64编码 increases data 大小 by approximately 33% (every 3 字节 becomes 4 characters). It only contains A-Z, a-z, 0-9, +, /, = these 64 characters, ensuring safe transmission in most systems.

Security 备注

Base64 is not an encryption algorithm, it's just an encoding method. Encoded data can be decoded by anyone. Don't use Base64 to protect sensitive 信息, use real encryption algorithms instead.