Base64

Base64 to Image Converter

Paste a Base64 string or data URI to see the image it contains and download it as a file.

A full data URI (data:…;base64,…), line breaks and URL-safe Base64 are all fine.

How to convert Base64 to an image

  1. Paste the Base64 string (with or without the data:image/… prefix).
  2. Press Convert to image.
  3. Preview the image and download it.
  • The format (PNG, JPG, WebP, GIF or SVG) is detected from the data itself.
  • To go the other way, use the Image to Base64 tool.

Base64 to Image: frequently asked questions

How do I convert Base64 to an image?

Paste the Base64 string and press Convert to image. Preview the image and download it.

How do I know which format the image is?

The format is detected from the data itself, so the download gets the right extension: PNG, JPG, WebP, GIF or SVG.

Do I need to remove the data:image prefix?

No. You can paste a full data URI such as data:image/png;base64,… or just the Base64 part.

More Base64 tools