Base64 to Image Converter

Decode Base64 strings back to images. Paste a Base64 encoded string to preview and download the image.

Base64 Input
Paste your Base64 encoded image string

Supported formats:

  • PNG, JPEG, GIF, WebP, SVG
  • With or without data:image/... prefix
Decoded Image
Preview and download the decoded image
Decoded image will appear here

What is Base64 Encoding?

Base64 is an encoding scheme that represents binary data in an ASCII string format. It's commonly used to embed images directly in HTML, CSS, or JavaScript, or to transfer image data through text-based protocols like JSON.

Common Use Cases for Base64 Images

Data URIs
Embed images directly in HTML or CSS
APIs
Send images through REST APIs as JSON
Email
Embed images in email templates
Debugging
Extract images from encoded data
Features
1

Auto-detect image format (PNG, JPEG, GIF, WebP, SVG)

2

Works with or without data URI prefix

3

Instant preview before download

4

Shows image dimensions and format

Base64 to Image Converter | Decode Base64 to PNG, JPG