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.