Base64 转图片
将 Base64 字符串或数据 URL 解码为图片并预览或下载。
使用方法
Decoding Base64 images
Paste a data URL that starts with data:image/ or a raw Base64 string. The tool detects the format from the decoded bytes and shows a preview.
- Paste the Base64 string or data URL.
- Check the preview.
- Download the image if needed.
常见问题
How do I know the image type?
The converter checks the magic bytes of the decoded data, so a raw Base64 string is detected without a data URL prefix.
Why does the preview fail?
The string is not valid Base64 image data. Check that no characters were lost when copying.
相关工具
图片转 Base64
将 PNG、JPEG、GIF、WebP 或 SVG 图片转换为可粘贴到 HTML 或 CSS 的 Base64 数据 URL。
Base64 编码 / 解码
将文本编码为 Base64 或将 Base64 解码为文本,完整支持 Unicode。
二维码生成器
为链接、文本、Wi-Fi 或联系人信息生成二维码,并下载为 PNG。
URL 编码 / 解码
对文本进行百分号编码以用于安全 URL,或将编码后的 URL 解码为文本。
JWT 解码器
解码 JSON Web Token 的头部和载荷,不验证其签名。
Unicode 编码 / 解码
将文本转换为 Unicode 转义序列,并将序列解码为可读文本。