Detects the file format.
Try this web function

The detect-file-format function allows you to infer the type of any piece of binary data.

detect-file-format performs file type detection by checking the magic number of the binary data.


detect-file-format returns the extension and media type (MIME type) of the input provided.

Execution mode

detect-file-format is a synchronous Web function. This means that the response includes the ouput of the Web function.

Auckland · New Zealand
© 2018 Cofactor Ltd.