Convert Base64 to Image Online
Decode a Base64 data URL back to an image file online — browser-based, no upload.
If you have a base64-encoded image string (data URL format) stored in a text file, this tool decodes it back to the original binary image file. Paste your base64 string into a .txt file, then upload it here to download the decoded image. The image format is automatically detected from the data URL header. Dockitt performs the decoding entirely in your browser.
How to use
- Save your base64 data URL string to a .txt file (the full string starting with 'data:image/...').
- Click 'Choose TXT' and select the text file.
- Click 'Decode to Image' and download the decoded image file.
FAQ
What format should the text file contain?
The text file should contain a full data URL string in the format: data:image/png;base64,iVBORw0... The MIME type in the header determines the output file format. Raw base64 without a data URL header is also accepted and defaults to PNG output.
What image formats can be decoded?
Any image format encoded in a standard data URL can be decoded: JPEG, PNG, WebP, GIF, BMP, SVG, TIFF, and ICO. The output file format is determined automatically from the data URL MIME type.
Is the conversion done in my browser or on a server?
The decoding runs entirely in your browser using the atob() API. Your data is never sent to any server.