About the Data URL to Image Tool

This tool previews the image inside a data URL (data:image/...;base64,...) and lets you save it as a file. Paste the URL and the preview appears half a second after you stop typing. It is useful for inspecting inline images found in HTML source, CSS, JSON responses or your browser's developer tools. The image is rendered by your browser; nothing is sent to the TeqCave server.

How to use

  1. Paste a data URL that starts with data:. Plain Base64 without the prefix is ignored.
  2. Wait for the preview to appear below the input.
  3. Click Download to save the image.

Example: A 2×2 checkerboard PNG

Input
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAE0lEQVR42mNgYGD4//8/GDMwAAAp5AX7YWIVfgAAAABJRU5ErkJggg==
Output
Preview of a 2×2 pixel image with two black and two white pixels, plus a Download button

Frequently asked questions

I only have the Base64 part. What can I do?

Add the prefix yourself, for example data:image/png;base64,, or use Base64 to Image, which accepts plain Base64 and lets you pick the image type.

Why is the download named image.png even for a JPEG or GIF?

The file name is fixed in the page. The content is the original image, unchanged, so rename it to .jpg, .gif, .svg or .webp to match the type in the data URL.

What does "Could not load image from this data URI" mean?

The browser could not display the data. Common causes are a string that was cut off, quotes copied along with the URL, or a wrong MIME type, such as an SVG labelled image/png.

Related tools