toolo.dev

Base64 to Image Converter

Convert Base64 to an image online: paste plain Base64 or a data URI, see the picture, its real type and size, and download it as PNG, JPG, WebP or the original.

The image appears here.

Decoding happens in your browser. The Base64 and the image are never uploaded.

About the Base64 to Image

Paste a Base64 string or a data URI to convert Base64 to an image you can see and download. The converter finds the real file type, shows the dimensions and size, and saves the picture as PNG, JPG, WebP or its original format.

Base64 images turn up in API responses, database columns, HTML emails, CSS files and logs. Copying one out is where things go wrong: the string gets cut off, picks up escapes from JSON, or carries the wrong type in its data: prefix. You can paste the string as it is, even inside an <img> tag, a CSS url() or a JSON value, and you'll get either the image or a message that says exactly what's wrong. The decoding runs in your browser.

  1. Paste into the Base64 or data URI box. The data:image/...;base64, prefix is optional, and line breaks, URL-safe characters (- and _) and missing = padding are fine. Open File reads a .txt file, and Load Example shows toolo's icon.
  2. The image appears about 0.3 seconds later, with its real type, dimensions and size underneath.
  3. Read any note in amber: it tells you when the data looks cut off or when the data URI names a different type than the data really is.
  4. Pick a format in the list (Original, PNG, JPG or WebP) and click Download. Converting to JPG fills transparent areas with white.
  5. Copy Image puts the picture on your clipboard as PNG, ready to paste into a chat or document. Copy Data URI gives you a clean data: string with the correct type, whatever you pasted.