What is this file, really?
Drop executables, documents, archives, images or source code. Google's Magika model reads the first and last kilobyte of each file and identifies its true content type from the bytes, whatever the name or extension says. Everything runs in this tab: files are never uploaded, and once the model is cached the page works with no network at all.
Drop files or folders here
or
You can also paste files or text. Large files are fine: only the head and tail are read.
| File | Detected type | Group | MIME type | Confidence | Extension |
|---|
Confidence is the model's score for its top label. Below Magika's per-type threshold the verdict is downgraded to a generic text or unknown type, exactly as the Magika command-line tool does.
How it works
- Model. Magika
standard_v3_3by Google (Apache-2.0): a 3 MB ONNX network trained on tens of millions of files across 200+ content types, run here with onnxruntime-web (WebAssembly). - Private by construction. The page can only talk to its own origin and the SkillSafe model registry. Your files stay in the browser; there is no server-side analysis at all.
- Offline. A service worker caches the page, the runtime and the model on the first visit. Afterwards it loads and classifies with the network off; the status pill says when that is the case.
- Extension check. A file called
invoice.pdfthat is really a Windows executable is flagged, along with anything else whose name disagrees with its bytes. - Same answers as the CLI. Feature extraction, thresholds and the overwrite map follow Magika's reference implementation, so labels match
magika --json.