DockittDockitt

Convert Base64 to Image Online

Decode a Base64 data URL back to an image file online — browser-based, no upload.

Processed entirely in your browser — never leaves your device
No software needed — works in any modern browser
Fast — most conversions complete in under a second
Files up to 100MB supported
From
TXTText / TXT
To
IMGAny Image
Processed entirely in your browser. Your file never leaves your device — no upload, no server, complete privacy.
Drag & drop your .txt file here or

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

  1. Save your base64 data URL string to a .txt file (the full string starting with 'data:image/...').
  2. Click 'Choose TXT' and select the text file.
  3. 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.