data:<MIME>;base64,<编码内容>,可直接作为 img/src 或下载链接。Encode and decode files to and from Base64 in your browser — select a file and get the text, no upload.
或:粘贴 Base64 / data URI,还原为文件:
🔒 所有转换均在浏览器本地完成,文件绝不上传。大文件(>50MB)建议直接使用文件系统工具。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Encoding | 3 bytes become 4 six-bit groups over a 64-char alphabet | RFC 4648 |
| Padding | pad with = to a multiple of four | RFC 4648 |
| Size overhead | encoded size is about 4/3 of the original | RFC 4648 |