All toolsESC
Generate / Base64 to Image
Base64 to Image
Decode Base64 image strings to preview, inspect metadata, and download as files.
Base64 Input
Image Preview
Image preview appears here
Quick Reference
Prefix Optional
Works with or without the data:image/...;base64, prefix.
Auto-Detection
PNG, JPEG, GIF, WebP, and SVG formats detected from magic bytes.
About Base64 to Image
Decode Base64-encoded image strings to preview, inspect metadata, and download as image files. Paste a Base64 data URI or raw Base64 string and instantly see the image with dimensions, format, and file size. Useful for debugging embedded images in APIs, emails, and HTML.
How to use
- 1Paste a Base64 image string (with or without the data URI prefix).
- 2The image preview appears instantly with format detection.
- 3Check metadata: dimensions, file size, and image format.
- 4Download the decoded image as a file.
Frequently Asked Questions
What image formats are supported?
RAW supports all common image formats encoded in Base64: PNG, JPEG, GIF, WebP, SVG, BMP, and ICO. The format is auto-detected from the data URI prefix or image header bytes.
Do I need the data:image prefix?
No. You can paste either the full data URI (data:image/png;base64,...) or just the raw Base64 string. RAW will detect the image format automatically.
Can I convert the image to another format?
The Base64 to Image tool focuses on decoding and previewing. To convert formats, decode the image here, download it, and use the Image Converter tool.