Base64 To Image

Paste a base64 string to instantly preview and download the decoded image in your browser.

Base64 Input

Paste a base64 string on the left and click Decode

Done!

Summary

Paste a base64 string to instantly preview and download the decoded image in your browser.

How it works

  1. Paste your base64 string (with or without the data URI prefix) into the input area.
  2. The tool automatically detects the MIME type from the prefix or defaults to PNG.
  3. The decoded image is rendered instantly in the preview panel.
  4. Review the image dimensions and file size displayed below the preview.
  5. Click Download to save the image to your device.

Use cases

  • Preview base64-encoded images embedded in JSON API responses.
  • Inspect inline images stored in a database or configuration file.
  • Verify that an image was correctly encoded to base64 before sending it.
  • Extract and save embedded images from email or HTML source code.
  • Debug broken <img src="data:..."> tags by pasting the base64 payload.
  • Convert a base64 string from a backend response into a downloadable file.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu