How to convert Base64 to an image
- Paste your Base64 text or data URL.
- Check the preview.
- Download the image.
About this tool
Found a long block of Base64 in some code or an API reply? Paste it here to see what picture it holds, then save it with the right file type. The format is read from the data itself, so a wrong label can't mislead you.
Common questions
Do I need to remove data:image/png;base64?
No. You can paste it with or without that label. Spaces and line breaks are ignored, and so are quotes around the text.
Why does it say the text isn't an image?
The Base64 decoded correctly, but what's inside isn't a known image format. It may be a PDF or plain text. Try Base64 Decoder for those.
Is what I paste sent anywhere?
No. It's decoded by your browser, so it stays on your device.
Is it free to use?
Yes. There's no sign-up, and you can use it as often as you like.
Is my text uploaded anywhere?
No. This tool runs inside your browser, so what you enter stays on your device.
Do I need to install anything?
No. It works in your browser on a computer or a phone.