← all releases
Google·Jul 25, 2026·v1.1.0·open source

Magika

Magika is an AI-powered file type detection tool that utilizes deep learning to provide fast and accurate identification of file contents. It is designed to process hundreds of billions of files weekly, supporting both binary and textual formats with approximately 99% accuracy.

AIFile DetectionCybersecurityOpen Source
overview

Magika is an AI-powered file type detection tool that utilizes deep learning to provide fast and accurate identification of file contents. It is designed to process hundreds of billions of files weekly, supporting both binary and textual formats with approximately 99% accuracy.

key features
  • 01AI-powered detection with ~99% accuracy across 200+ content types
  • 02High-performance inference (~5ms per file) on a single CPU
  • 03Support for command line, Python, JavaScript/TypeScript, and Go
  • 04Configurable prediction confidence thresholds
  • 05Near-constant inference time independent of file size
related productsbrowse all →