Base64 to Image

Base64 to Image

Restore a two-pixel PNG from Base64.

Base64 String

Try this example

Copy and paste the sample data URL, then convert and download the PNG.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWN4ZmOjkfcMAAnBAtuPdGM6AAAAAElFTkSuQmCC

Expected result

2 × 1 · PNG · 🔴 🔵

You can also paste only the Base64 text after the comma. Both inputs restore the same two pixels.

Related walkthrough · Resize, crop and convert a PNG for the web


Avatar

DTool Team

Product Team

We build simple, reliable browser tools that make everyday digital work faster.

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies