Base64 to Image

Decode Base64 or a data URL into a raster image. Preview it and download its original bytes.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
Advanced settings

How to use this tool

Paste the image string, with or without its data URL prefix. Recognized PNG, JPEG, GIF and WebP images are previewed. Use Save bytes to keep the original file.

Example: Try example opens a one-pixel PNG. Save bytes downloads the image.

Frequently asked questions

Can I preview SVG?

SVG is not rendered as active content. You can inspect or save its bytes, but this tool only previews supported raster images.

What is the file size limit?

Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.