The DataUri2File component converts a Data URI into a file. It extracts the file content and metadata from the Data URI and generates a downloadable file.
dataUri
string
✅
A Data URI representation of a file.
fileName
string
❌
The desired name of the output file. If omitted, a default name (result.[EXT]
) is assigned based on the file type.
fileId
string
The unique ID of the generated file.
fileName
string
The name of the resulting file.
Provide a Data URI
Input a valid Data URI string that represents a file.
Specify a File Name (Optional)
Enter a desired file name with or without an extension.
If omitted, the extension is inferred from the file type.
Processing
The component extracts the file content from the Data URI and saves it as a downloadable file.
Returns the fileId
and fileName
of the newly created file.