Decode Base64 to PNG instantly

Decode a Base64 string to a PNG image in your browser. No upload, no server. Paste your data URI or raw Base64 and download the image.

Drop your Base64 file here

or click to browse

Your files stay private
No server upload
Instant conversion

Example

Input (BASE64)

data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...
(a 120x40 button graphic, ~2 KB of Base64 text)

Output (PNG)

[button.png]
Decoded PNG image (120x40 pixels)
File size: 1.5 KB

About this converter

If you have a Base64-encoded PNG sitting in a CSS file, an API response, or an email template, this tool turns it back into a downloadable image. Paste the string (with or without the data:image/png;base64, prefix) and hit convert. The decoding uses your browser's native atob() function, so the data never leaves your machine. Useful when you are debugging embedded images, extracting assets from a webpack bundle, or just need the actual file from a data URI.

BASE64 vs PNG

Base64-Encoded String (Base64)

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. Developers use it to embed images directly in HTML, CSS, JSON APIs, and anywhere binary data needs to travel as plain text.

Common uses: embedding images in HTML/CSS, data URIs, API payloads, and email attachments

RFC 4648 (Base64 specification)

Portable Network Graphics (PNG)

PNG (Portable Network Graphics) is a lossless image format that supports transparency, making it ideal for graphics, icons, and screenshots.

Common uses: screenshots, graphics with transparency, and lossless images

W3C PNG specification

How to convert BASE64 to PNG

  1. 1

    Upload

    Upload your BASE64 file using the drop zone above, or click to browse your device.

  2. 2

    Convert

    Click the "Convert to PNG" button. The conversion runs instantly in your browser.

  3. 3

    Download

    Download your converted PNG file. No data was sent to any server.

Frequently Asked Questions

Last updated: 2026-03-23