Base64 to Image
Paste a Base64 string or data URI to preview the image and download it as a normal file.
Loading tool…
Need help with this tool or found a problem? WhatsApp support Email
What does the Base64 to Image do?
Developers often meet images stored as Base64 inside JSON responses, databases, CSS files or emails. Paste the string — with or without the data:image/…;base64, prefix — and the tool decodes it, detects the real format from the file signature and shows the image with its dimensions and size.
URL-safe Base64 (using “-” and “_”) and missing padding are handled automatically.
How to use the Base64 to Image
- Paste the Base64 text or full data URI.
- The image previews automatically.
- Check dimensions, size and format.
- Click “Download image”.
Examples
From an API
A JSON field "avatar": "iVBORw0KGgo…" decodes to a PNG you can save and inspect.
Common use cases
- Debugging API responses
- Extracting images from CSS or HTML
- Recovering images stored in databases
Features and benefits
- Private by design — your data is processed on your device and never uploaded.
- Free with no account, no watermark and no usage limits.
- Works on phones, tablets and desktops in any modern browser.
Limitations to know
- The data must be a complete image; truncated strings show an error.
Helpful guides
Frequently asked questions
Do I need the data:image prefix?
No. The format is detected from the decoded bytes.
What formats are supported?
PNG, JPG, GIF, WebP, BMP, SVG and ICO.
Is the data sent anywhere?
No, decoding happens in your browser.
Related tools
All image toolsImage to Base64 Converter
Encode images as Base64 data URIs for HTML and CSS.
Base64 Decoder
Decode Base64 to text, or download decoded bytes as a file.
Developer ToolsImage Dimensions Checker
Check width, height, aspect ratio and file size of images.
Image Metadata Viewer
View EXIF data like camera, date and GPS from JPEG photos.
HTML Entity Decoder
Decode HTML entities back into readable characters.
Developer ToolsImage Compressor
Reduce JPG, PNG and WebP file size in your browser with quality control.