Base64 to image converter — preview and download
Got a long Base64 string or a full data URL and need to see or save the picture? Paste it here, preview, then download. Handy when pulling embedded images out of API responses, CSS, or email source.
Many systems ship images as Base64 instead of files. Pasting a field here beats writing a one-off script during debugging.
If it starts with `data:image/png;base64,`, paste the whole thing for accurate typing. Raw Base64 alone still decodes as a generic image attempt.
Decode failures usually mean truncated data, extra quotes, or the wrong kind of Base64 — JWT chunks are not images.
How to restore
- Paste Base64 or data URL
- Confirm the preview looks correct
- Download the image file
What this page helps you do
- Paste a string, preview, then download a real image file.
- Pair with Image to Base64 when you need a round trip.
- Pull embedded pictures out of APIs or page source.
Scenarios
- Restore a user upload preview from a JSON field
- Extract a data URL icon from CSS or HTML source
- Verify Base64 matches an expected original
Tips
- Prefer pasting the complete data URL.
- Strip surrounding quotes and blank lines if decode fails.
- JWT segments are not image Base64 — use JWT decoder instead.
Input examples
| Input | Output | Note |
|---|---|---|
| data:image/png;base64,iVBOR... | Previewable PNG | Recommended format |
| Raw Base64, no prefix | Decoded as image | Type may need checking |
Base64 to image FAQ
- Download failed?
- Ensure the string is complete valid Base64. A data URL prefix usually helps.
- Blank preview?
- Likely not image data or truncated input. Try the full string from the source.
- Batch multiple strings?
- One paste at a time. Repeat for additional images.