Decodes a Base64 / data URI back into a downloadable file.
Base64 to File decodes a Base64 string or a data URI back into a downloadable file. Paste a full data URI (such as data:image/png;base64,...) and the tool reads the embedded MIME type, or paste a bare Base64 string and it decodes the raw bytes for you. It is handy whenever you need to turn an encoded blob from code, JSON, or a CSS asset back into the original file.
No. The decoding runs entirely in your browser using built-in JavaScript, so the Base64 string and the resulting file never leave your device and nothing is uploaded.
It accepts a full data URI in the form data:<mime>;base64,<data>, a data URI without the ;base64 flag (URL-encoded text), or a bare Base64 string with no prefix.
If you paste a data URI, the MIME type is read from the prefix. For a bare Base64 string with no MIME information, it defaults to application/octet-stream.
No. Whitespace such as line breaks and spaces is stripped before decoding, so wrapped or pretty-printed Base64 still decodes correctly.
No. Any file type can be decoded since the tool works on raw bytes; the image category just reflects the most common use of turning a data URI back into a picture.