Base64 to Image Converter
Decode Base64 strings back into standard image formats like PNG or JPEG. Restore and reuse encoded images in a few simple steps.
Base64 Input
Paste the complete Base64 string or data URL
Upload a text file containing Base64 data
Choose the output image format
90%
Higher quality means larger file size
Name for the downloaded image file
Click to convert your Base64 string to an image
Reset all settings and clear the form
Preview & Result
Enter Base64 string to see preview
Decoded Image
•
•
Download the decoded image in your chosen format
Base64 Input
- Length:
- Format:
- MIME Type:
- Data Size:
Decoded Image
- Dimensions:
- File Size:
- Output Format:
- Aspect Ratio:
Copy the generated code to clipboard
Download the code as a text file
Use this code in your HTML, CSS, or other files
About Base64 to Image Conversion
What is Base64?
Base64 is an encoding scheme that converts binary data into ASCII text. It's commonly used to embed images in HTML, CSS, or JSON files.
Supported Formats
- Data URLs (data:image/...)
- Pure Base64 strings
- Text files containing Base64
- HTML/CSS files with embedded images
Output Formats
- PNG (lossless, supports transparency)
- JPEG (lossy, smaller file size)
- WebP (modern, efficient format)
- Auto-detect (preserves original format)
Use Cases
Perfect for recovering images from encoded strings, testing embedded images, or converting between different image formats.