Skip to content
ImageDoctor

Base64 to Image

Paste a Base64 string or data URI, preview the image and download or convert it.

Base64 or data URI

Paste a Base64 string to preview it

Both raw Base64 and full data URIs work. The format is detected from the header or the decoded bytes.

Decoding Base64 to an image

Paste a data URI or a bare Base64 string. URL-safe Base64, missing padding and stray whitespace are all handled, and the image type is detected from the data itself when there is no data URI prefix.

The preview shows the format, dimensions, size and aspect ratio. Download the decoded file exactly as it was, or convert it to PNG, JPG, WebP or AVIF and resize it first.

Input up to 64 MB of text is supported, and nothing leaves your browser.

Common questions

Paste the string, check the preview, choose PNG or JPG under “Convert to” and download. Use “Download original” to keep the file as it was.

It may be truncated or contain characters that aren't Base64. Make sure you copied the whole value, including everything after “base64,”.

We use Microsoft Clarity analytics cookies to see how the site is used and fix what's broken. Your images are never uploaded. Privacy Policy