TrId2Console is a console utility that detects what kind of file a given file is by looking at its content rather than its name or extension. It is aimed at people who need to check unknown or mislabelled files from a terminal, such as analysts and developers working with binary data.
The tool is described as similar to TrID and the UNIX file command, so it fills the same role for Windows users. The source code is public under the MIT license, and the program is distributed for Windows through winget.
Alternatives to TrId2Console
Products that do a similar job in Security & Privacy.
Infisical
Open-source platform for managing secrets, certificates and access
Sherlock
command-line tool that searches usernames across many social networks
1Password CLI
Command-line access to 1Password vaults for scripts and terminals
rea
Command-line tool for reverse engineering apps and binaries with AI agents
bbot
Recursive attack surface scanner for the command line
ClamAV
Open-source antivirus engine for detecting malware and other threats
Wiz CLI
Command-line client for the Wiz cloud security platform
Picocrypt-NG
Offline file encryption for Android using XChaCha20 and Argon2id