Image Tools

Base64 to Image

Convert Base64 string to image

Calculator

Tip: Paste a base64 encoded string or a complete data URL (e.g., data:image/png;base64,...)

Supported Formats

PNG
Lossless, supports transparency
JPEG
Compressed, no transparency
WebP
Modern format, great compression

Common Use Cases

  • *Converting embedded images from API responses
  • *Extracting images from data URLs in HTML/CSS
  • *Previewing base64 images from email templates
  • *Debugging encoded images in JSON payloads

How to Use

Decode Base64 strings back to image files

1

Paste Base64 code

Enter your Base64 encoded image string

2

Preview image

The decoded image preview appears automatically

3

Download image

Click download to save as an image file

Frequently Asked Questions

Paste your Base64 string into our converter. It automatically detects the image format from the data URI prefix and converts it back to a downloadable image file. The tool supports all common formats including JPEG, PNG, GIF, WebP, and SVG.

Ensure your Base64 string is complete and properly formatted. It should start with "data:image/" followed by the format and ";base64,". If you only have the raw Base64 without the prefix, select the image format manually. Check for any line breaks or spaces that may have been added.

Yes, as soon as you paste valid Base64 code, the tool displays an instant preview of the decoded image. You can verify it is correct before downloading. The preview shows dimensions and estimated file size of the resulting image.

Our tool decodes any valid Base64 image string including JPEG, PNG, GIF, WebP, SVG, BMP, and ICO formats. The format is automatically detected from the data URI prefix. You can also convert between formats during decoding.

Image Tools

Image editors, converters, and manipulation tools

View all tools