Base64 to Image Converter

Convert Base64 encoded strings back to viewable images. Decode Base64 image data and preview or download the result as PNG, JPG, or other formats.

Base64 Input

224 characters

About This Tool

Mode: decode

Base64 encoding converts binary data to ASCII text, making it safe for text-based systems like JSON, XML, and URLs.

Decoded Output

Enter Base64 string to see the decoded result here.

Frequently Asked Questions

How do I decode a Base64 image?

Paste the Base64 string (without the data URI prefix) into the input field. The tool will automatically detect the image format and display a preview.

Can I decode data URIs directly?

Yes! You can paste the full data URI (data:image/png;base64,...) and our tool will extract and decode the Base64 portion automatically.

What if the image doesn't display?

Make sure the Base64 string is complete and not truncated. Check that it's actually image data and not text or other binary content.

How do I save the decoded image?

Click the 'Download' button to save the image in its original format. The format is automatically detected from the Base64 data.

Practical Examples

Extract Images from CSS

Decode data URIs from CSS files to get the original image files.

Debug API Responses

Preview images returned as Base64 strings from API endpoints.

Email Attachment Recovery

Decode Base64 image attachments from email source code.

Common Issues & Solutions

Remove the 'data:image/xxx;base64,' prefix if decoding fails with it included.

If no preview appears, the data may not be a valid image format.

Very large Base64 strings may take a moment to decode and display.

The image format is auto-detected. If download fails, try copying the data URI instead.