跳到主要内容

Base64 to File

Developer

Paste Base64 or a data URI and download the decoded file — the file type is detected from the header.

正在加载工具…

Cara pakai

3 langkah
  1. 01

    粘贴 Base64 内容

  2. 02

    工具自动识别类型并显示文件大小

  3. 03

    填写文件名后点击下载

Pertanyaan umum

3 pertanyaan
Q1能识别出原来的文件类型吗?

带 data:image/png;base64, 这类前缀时直接采用前缀里的类型;纯 Base64 则通过文件头特征(magic number)判断常见类型,识别不了的按 .bin 处理。

Q2内容里的换行需要手动删掉吗?

不需要,工具会自动清理空白字符。

Q3会解码到服务器吗?

不会。全部在浏览器本地完成。

Developer