Convert Base64 to image

Paste a Base64 string or data URI to preview the image and download it as a file. The format is detected automatically from the decoded bytes.

Your images are processed on your device and are never uploaded.

Loading engine…

How to use this tool

  1. 01

    Paste a Base64 string or a full data URI.

  2. 02

    Check the preview, detected format and dimensions.

  3. 03

    Download the decoded image.

Works with or without a prefix

Paste a full data URI or just the Base64 part. Whitespace and line breaks are ignored, and the format is detected from the decoded bytes.

Decoded locally

The string is decoded in your browser, so tokens or private images embedded in it are never sent anywhere.

Frequently asked questions

Why does it say the data is invalid?

The string may be truncated, contain characters outside the Base64 alphabet, or decode to something that is not an image.

Is URL-safe Base64 supported?

Yes. Strings using - and _ instead of + and / are accepted.

Is my data uploaded?

No. Decoding happens in your browser.

Related tools