You are offline. Tools you have opened before keep working.
Base64 to image
Paste Base64 text or a data URI and see the image right away. The format is detected from the data itself, so the file you download always has the right extension.
Free and private. Everything runs in your browser, nothing is uploaded.
Base64
PNG
Report a problem
How it works
Add your Base64Open the file or drop it onto the input box. You can also paste Base64 directly.
Choose the outputPick data URI, Base64, CSS, HTML or Markdown. The preview and sizes update right away.
Copy or downloadCopy the code with one click, or download the image as a file.
See what is inside the code
Base64 images turn up in API responses, HTML email sources, CSS files and database exports. Paste them here to check what they show, how large they are and which format they use.
Line breaks, missing padding and URL safe characters are handled automatically, so you can paste the text as you copied it.
About Base64
Base64 writes binary data as plain text using letters, digits, + and /. A data URI adds the file type in front, for example data:image/png;base64, so browsers know how to show it.
About PNG
PNG is a lossless image format with transparency. It is the usual choice for icons, logos and screenshots, which also makes it the most common image inside data URIs.
Frequently asked questions
What if the data is not an image?
The tool tells you which file type it found, such as PDF or ZIP, and you can still download it.
Is my image uploaded?
No. The image is read and converted in your browser and never sent to our servers.
Is there a size limit?
There is no fixed limit, but data URIs over about 100 KB make pages and stylesheets heavy. For large images a normal image file is the better choice.
Can I convert other files, like PDFs or fonts?
Yes. Any file becomes a data URI or plain Base64. The CSS, HTML and Markdown options are only offered for images.
How do I turn Base64 back into an image?
Paste the Base64 text or data URI into the input box. The image is shown right away and Download saves it with the right file extension.
Does it work offline?
Yes. After you open the page once, it keeps working without an internet connection.