Base64 to Image
Got a long string of Base64 text instead of a picture? Paste it here — data URL or raw text — and convert it back into an image you can preview and download as PNG, JPG or its original format, entirely on your device.
- Detected format-
- Dimensions-
- Approx. file size-
How to use
- Paste your Base64 text or data URL into the box. Whitespace and line breaks are cleaned automatically.
- Press Decode & Preview — the image, its format and dimensions appear instantly.
- Download it as PNG, JPG, or in its original detected format.
Tips
- Line breaks and spaces in the pasted text are cleaned automatically — paste the whole block.
- The preview shows the detected format and dimensions before you download.
- If decoding fails, the text is probably not valid Base64 — check for missing characters.
- For the reverse job, use our Image to Base64 tool instead.
Need the opposite direction? Use our Image to Base64 tool to turn a photo into Base64 text.
Privacy note: Your data never leaves your browser. Decoding happens on your own device.
Frequently Asked Questions (FAQ)
What does the Base64 to Image tool do?
Paste Base64 text or a full data URL and turn it back into a real image file you can view and download.
What input does it accept?
Either raw Base64 text or a complete data URL.
Can I download the image?
Yes. The tool shows a live preview with format detection and lets you download the image as PNG or JPG.
Which download format should I pick?
Download as PNG or JPG, or pick the detected format option to keep the image's original format.
What about the opposite direction?
Use the Image to Base64 tool to turn a photo into Base64 text.