Base64 image viewer
Paste a Base64 or data-URI string and instantly see the image it decodes to.
Turning a wall of text back into a picture
Embedded images show up as long Base64 strings inside HTML, CSS, JSON and API responses, and there is no way to tell what one is just by looking at it. Paste the string in here and it decodes straight to the picture, so you can identify an embedded icon, check an avatar, or confirm a data URI is valid before you ship it.
It handles the full data-URI form as well as a bare Base64 blob, working out the image type for you.
The companion to encoding
If viewing is the read direction, encoding is the write direction — turning an image into a string you can paste into code. This tool is the reader: give it the string, get the image. Nothing is uploaded, so even a data URI pulled from a private codebase stays on your machine.
How to view a Base64 image
- Paste the Base64 string or data URI.
- The decoded picture appears immediately.
- Download it as a normal image file.
Turning a wall of text back into a picture
Base64 image strings turn up embedded in HTML, CSS, JSON payloads and email source, and there is no way to tell what they contain by reading them. Decoding shows the actual picture, which is how you check that an embedded asset is what you expect.
It also works in reverse as a recovery route — if the only copy of an image you have is inside some code, decoding gets you a real file back.
Questions & answers
What is a data URI?
A text encoding of a whole file, letting an image live directly inside HTML, CSS or JSON.
Do I need the data:image prefix?
It helps identify the format, but a plain Base64 string usually decodes fine too.
Can I save the decoded picture?
Yes, it can be downloaded as a normal image file.
What can I paste in?
A full data URI or just the Base64 part; it figures out the image type and decodes it.
Why would an image be stored as text?
Embedding it inline avoids a separate file and network request, which suits small icons in HTML, CSS or JSON.
Is anything uploaded?
No. The string is decoded in your browser and the image stays on your device.