Magika: Detect file content types with deep learning

https://google.github.io/magika/

Tool

Magika is a novel AI-powered file type detection tool that relies on the recent advance of deep learning to provide accurate detection. Under the hood, Magika employs a custom, highly optimized Keras model that only weighs about a few MBs, and enables precise file identification within milliseconds, even when running on a single CPU.

The website provides a fully browser-based example of the tool, but it can also be found on GitHub.