MAGIQ is the universal file intelligence platform. Powered by magic number analysis, MIME detection, and deep content classification — we tell you exactly what any file is. No extensions. No guessing. Just truth.
Trusted by teams at
Features
From magic number analysis to MIME classification, MAGIQ gives you total file intelligence with a single command.
Our engine reads magic numbers — the invariant byte signatures hidden at fixed offsets in every file. We match against 20,000+ patterns in the world's most comprehensive magic database. No file extension required.
Output proper MIME type strings instead of human-readable descriptions. Get
application/pdf instead of "PDF document." Standards-compliant content typing for
your automated pipelines.
Detect the character encoding of any file — US-ASCII, UTF-8, UTF-16, ISO-8859, EBCDIC. Stop guessing why your text renders wrong. EncodeSense™ delivers encoding truth in one pass.
Look inside compressed files without decompressing them first. Gzip, bzip2, xz — our engine peers through the compression layer to identify what's actually inside. X-ray vision for archives.
Follow symbolic links to identify the actual target file, not just the symlink itself. Because when you ask "what is this file?" you mean the destination, not the shortcut.
Read and classify block and character special files — raw disk partitions, device nodes, the files that ordinary tools refuse to touch. Determine filesystem types from raw partitions.
Read file names from a list and classify them all in a single invocation. Process thousands of files from a manifest. Enterprise-grade batch identification with zero scripting overhead.
Don't stop at the first match. Keep going and report every possible type classification, ranked by confidence. When ambiguity exists, MultiMatch™ shows you all the candidates.
Compile custom magic files into optimized binary format for lightning-fast lookups. Define your own file signatures, build your magic database, and deploy it to your fleet.
Brief mode. No filenames prepended. Just the raw type identification — clean, machine-parseable output ready to pipe into your next tool. Maximum signal, minimum ceremony.
Exclude specific tests from the detection pipeline — apptype, ascii, encoding, elf, tar, soft magic. Tune exactly which analyses run for precision results and optimal performance.
Specify alternate magic files or directories. Override the system database with your own proprietary patterns. Because your organization's files deserve organization-specific intelligence.
Manifesto
Every day, billions of files move through systems with nothing but a three-letter extension to
declare their identity. Rename a .exe to .jpg. Change a
.pdf to .txt. The world keeps spinning. And your security stack? It
has no idea.
We started MAGIQ because we believe file identity should be intrinsic, not cosmetic. The magic number — those invariant bytes hidden at fixed offsets — is the only source of truth. It's been there since Research Unix V4 in 1973. Fifty years of ignored wisdom.
MAGIQ performs three tests in sequence: filesystem tests (stat the file), magic tests (read the binary signature), and language tests (analyze text content). The first test that succeeds determines the type. No guessing. No heuristics. Just deterministic classification backed by the world's most comprehensive magic database.
We're not building a file extension lookup table. We're building universal file intelligence. And every file on earth is about to get a lot less mysterious.
How It Works
MAGIQ starts by examining the stat(2) return. Is it empty? A socket? A symlink? A named pipe? A block device? Filesystem-level classification catches the obvious before we go deeper.
The core engine reads bytes from fixed offsets and matches them against 20,000+ signatures in our compiled magic database. ELF binaries, PDF headers, JPEG SOI markers — every known magic number, identified in microseconds.
For text files, MAGIQ detects the character encoding (ASCII, UTF-8, UTF-16, EBCDIC) and analyzes content for language patterns — C keywords, troff macros, shell script indicators.
The first successful test produces the type. Output as human-readable text, MIME type, or both. Pipe it, parse it, or feed it to your automation. Universal file intelligence, delivered.
File Scanner
Our drag-and-drop scanner identifies file types in real time. See the magic number analysis happen before your eyes.
Drop files here to identify
or click to simulate
MIME Type Registry
Browse every MIME type MAGIQ recognizes. Search by type, extension, or magic signature.
Magic Database
The beating heart of MAGIQ — our compiled magic database maps byte signatures to file types.
Demo
Real commands. Real output. Real file intelligence.
Pricing
For individuals exploring file intelligence
For teams that need deep file intelligence
For organizations at classification scale
For sovereign file intelligence
Testimonials
"Someone renamed a shell script to .png and uploaded it to our asset pipeline. MAGIQ caught it instantly. MagicSense™ doesn't care about extensions — it reads the actual bytes. That one catch prevented a supply chain attack."
"We process 2M uploads per day. Before MAGIQ, we relied on file extensions and Content-Type headers — both trivially spoofable. MIMEVision™ gives us ground-truth MIME types from the actual file content. Game changer."
"DeepScan™ is witchcraft. We had a .tar.gz that was actually a bzip2-compressed ISO image someone misnamed three jobs ago. MAGIQ looked through the compression and told us exactly what was inside. Saved us 4 hours of debugging."
"We built a custom magic database with MagicForge™ to identify our proprietary binary format. Compiled it, deployed it to 400 nodes, and now every file in our pipeline gets classified with our internal taxonomy. The ROI is absurd."
"EncodeSense™ ended the encoding wars on our team. No more guessing if a CSV is UTF-8 or ISO-8859-1. We pipe every inbound file through MAGIQ first, and the encoding detection alone justified the Enterprise tier."
FAQ
A magic number is a fixed sequence of bytes at a specific offset in a file that uniquely
identifies its type. For example, PDF files always start with %PDF, PNG files
with \x89PNG, and ELF binaries with \x7fELF. MAGIQ maintains a
database of 20,000+ such patterns — it's how we identify files without relying on
extensions.
File extensions are metadata — cosmetic labels that anyone can change. MAGIQ reads the actual
content of the file, examining magic numbers, byte patterns, and text encoding. A
.jpg that's actually an executable will be correctly identified as an
executable. Extensions lie. Magic numbers don't.
Yes. DeepScan™ (-z) peers inside compressed files to identify their actual
contents. A gzipped tar archive will be reported as a tar archive, not just "gzip compressed
data." We support gzip, bzip2, xz, and more compression formats.
Absolutely. With CustomMagic™ (-m), specify alternate magic files. With
MagicForge™ (-C), compile your custom patterns into optimized binary format.
Organizations with proprietary file formats use this to extend MAGIQ's intelligence to their
own ecosystem.
Never. MAGIQ is 100% read-only. With -p (preserve-date), we even restore the
access time, so it looks like we never touched the file at all. Pure observation. Zero
mutations. Your files remain exactly as they were.
--mime-type gives you the content type (e.g., text/plain,
application/pdf). --mime-encoding gives you the character encoding
(e.g., us-ascii, utf-8). Use -i to get both combined
as text/plain; charset=us-ascii. Different questions, precise answers.
Join 6,800+ teams who've already secured early access to MAGIQ. Founding members get lifetime Pro pricing and custom magic pattern support.
No spam. No misidentified emails. Just file intelligence updates.