Skip to main content
Convert Data URL to File decodes an embedded base64 value and returns a file with the matching MIME type.

Input and output

The output is named converted.EXTENSION, where the extension is inferred from the MIME type.
The input must use the exact data:MIME_TYPE;base64,DATA form. Non-base64 data URLs and MIME types without a known file extension are rejected.