Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a file utility in linux.
The users can get file format information by file.

I'd like to use this program in my application.
Is there a Windows utility? Open source is better.

share|improve this question

migrated from Jun 22 '11 at 14:22

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

File has been ported to Windows:

share|improve this answer

trid might be a possibility - its used in computer forensics to identify files. Unlike file, it uses a database, rather than magic numbers

share|improve this answer

Check sysinternals, it is bound to have one that suits your needs. It's not open source, though.

share|improve this answer
I don't recall any file identification tools in the sysinternals family – Journeyman Geek Jun 22 '11 at 15:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.