PrivTab

Base64 转图片

Base64 转图片

在浏览器中运行 · 无需上传

此工具及本页说明目前仍为英文。功能完全相同:一切都在你的浏览器中运行。

Spaces and line breaks are ignored. Your text stays in your browser.
  • 任何内容都不会离开你的设备
  • 服务器不限制文件大小
  • 无需注册,无水印
  • 免费

How to convert Base64 to an image

  1. Paste the Base64 string or the full data URL.
  2. Press Convert to Image to see a preview and the detected format.
  3. Download the image.

Good to know

  • Both plain Base64 and data URLs (data:image/…;base64,…) are accepted. Spaces and line breaks are ignored.
  • URL-safe Base64 (with - and _) is also accepted.
  • The format is detected from the decoded bytes, so the downloaded file gets the right extension even if the data URL says otherwise.
  • If the decoded data is not an image, you are told what it looks like instead.

Is my data uploaded?

No. Decoding happens in your browser and the text you paste never leaves your device.

常见问题

Why does it say the data is not an image?

The text decoded correctly, but the bytes are a different kind of file, for example a PDF or plain text. The tool names the type it found.

Why does it say the text could not be decoded?

The text contains characters that are not valid Base64, or part of it is missing. Check that you copied the whole string.

Is my data uploaded?

No. Everything runs locally.