Overview
TrID is a small command-line utility by Marco Pontello that works out what kind of file something is by looking at its contents rather than its name. It is handy when a file has lost its extension, has the wrong one, or has been recovered from a damaged disk.
Instead of fixed, hand-written rules, TrID compares the file against a library of definitions built from real sample files, which currently covers well over twenty thousand file types. It then lists the most likely matches with a percentage for each, so you see alternatives as well as the top guess. Options let it add or correct file extensions automatically, work through a list of files or whole folders, write results to CSV and download the latest definitions. A companion tool, TrIDScan, builds new definitions from samples, and there is also a graphical TrIDNet and an online version.
The current release is a multi-platform version that needs Python 3, plus an installer for 64-bit Windows 10 and later. Older native builds for 32-bit Windows, Linux and DOS remain available. TrID is free for personal and non-commercial use. The results are probabilities, not certainties, so unusual or mixed files can be misidentified.
Categories
Features
- Identifies file types from binary signatures, ignoring the extension
- Definition library covering more than twenty thousand file types
- Lists several likely matches with a percentage for each
- Can add or correct file extensions automatically
- Processes wildcards, file lists and subfolders
- Writes results to a CSV file
- Updates its definitions from the command line
- Companion tools TrIDScan, TrIDNet and an online version
Privacy
See the official privacy policy. TrID runs on your own computer; the author's website shows Google AdSense ads and loads StatCounter.
Pros & Cons
Pros
- Free for personal and non-commercial use
- Very large definition library that can be updated from the command line
- Shows alternative matches rather than a single guess
- Runs locally with no account
- Current version runs wherever Python 3 does
Cons
- Command line only unless you use the separate TrIDNet
- Not free for commercial use
- Results are probabilities and can be wrong for unusual files
- Current version needs Python 3 or 64-bit Windows 10 or later
Community Reviews (0)
No written reviews yet — be the first to rate this tool.