Developer tool

Base64 to Image

Paste a Base64 encoded string and instantly preview the decoded image. Runs entirely in your browser - nothing is sent to any server.

100% client-side Instant No signup
Base64 Input

How It Works

Base64 encoding represents binary data (like images) as an ASCII text string. This tool reverses that process - it takes a Base64 encoded string and converts it back into a viewable, downloadable image.

  1. Paste your Base64 string into the input area. Both raw Base64 and data:image/... URI formats are accepted.
  2. Click Decode to convert the string into an image.
  3. Preview the result and click Download to save it to your device.

Supported Formats

The tool auto-detects the image format from the data URI prefix. If you paste raw Base64 without a data URI header, it defaults to PNG. Supported formats include:

  • PNG - Portable Network Graphics
  • JPEG / JPG - Joint Photographic Experts Group
  • GIF - Graphics Interchange Format
  • WebP - Modern image format by Google
  • SVG - Scalable Vector Graphics
  • BMP - Bitmap Image
  • ICO - Icon format

Privacy & Security

Your Base64 data never leaves your browser. All decoding is performed client-side using the native atob() function and Blob APIs. No data is uploaded, logged, or stored on any server.