Base64 to Image Previewer
Image / Base64Decode Base64 data strings into live images or encode local image files into Base64 data URIs. Inspect dimensions, file sizes, and download binary images directly.
About This Tool
Decodes a raw Base64 string or full data URI into a rendered image you can inspect and download, or runs the other direction by reading a local image file into a Base64 data URI. Built for the moment you have Base64 image data (from an API response, database blob, or email attachment) and need to see what it actually is.
It is specifically for images: for encoding or decoding arbitrary text or JSON Base64 strings, use Base64 Converter instead.
Key Features
- Format auto-detection: Inspects magic-byte prefixes (/9j/ JPEG, R0lGOD GIF, UklGR WebP, <svg SVG) when no data: prefix is given.
- Metadata panel: Reports Format, pixel Dimensions, and an estimated file size from the Base64 length.
- Transparency-aware preview: Checkerboard canvas background so PNG/SVG alpha channels are visible.
- Upload image file: Reads a local image via FileReader straight into the input as a data URI.
- Copy Data URI & download image: Copy the full data URI string, or save the decoded bytes with the matching file extension.
- Inline error handling: Invalid Base64 shows a clear error instead of a broken image.