Skip to content

How to Use Base64 to Image

Decode a Base64 string or data URI back into an image. Preview it instantly and download it in its original format. Free online Base64 to image converter.

About this tool

Decode an image data URI or Base64 image string into a preview and downloadable file.

How to use Base64 to Image

  1. Paste the Base64 string or data URI into the input.
  2. Check the preview and any decoding error.
  3. Click Download image after confirming it is the expected image.

Worked example

Paste a data:image/png;base64,... value copied from an HTML source to inspect the embedded image.

Will any Base64 text become an image?

No. The decoded bytes must represent a supported image. Encoded prose or damaged image data will not produce a valid preview.

Can I recover missing characters?

No. Obtain the complete original value if the Base64 string was truncated.

Put this guide into practice

  • Base64 to Image — Decode a Base64 string or data URI back into a downloadable image.

Explore Image Tools · More practical guides

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help