Base64 to PNG

Paste a Base64-encoded PNG to preview it and save it as a .png file.

  • Runs in your browser
  • Free to use
Whitespace and a data:… prefix are accepted.
ctrl + enter

About this tool

Base64 to PNG is a focused version of the image decoder for the most common case: a PNG stored as Base64. The string is decoded in the browser, the PNG signature is verified, and the image is displayed with a download as .png button. Use Base64 to Image when the format is unknown.


How to use it — quick steps

  1. 01

    Enter the base64 string or data url

    Type or paste the base64 string or data url in the field above. Nothing is uploaded. Use Ctrl + V to paste.

  2. 02

    Press "Decode and preview"

    Press "Decode and preview" or Ctrl + Enter. The result appears instantly below the form.

  3. 03

    Read the result

    It appears in the dark panel under the form instantly. Every block has [copy] and other actions.


Key features of this tool

  • Nothing leaves your browser

    The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.

  • Instant results

    Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.

  • Works everywhere

    No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.


Frequently asked questions

The result is not a PNG

If the data turns out to be another image type, the tool tells you and shows it with the detected format anyway.

Can I convert JPEG to PNG here?

No, this tool only decodes; it does not re-encode images.

Are my files or data uploaded?

No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial