Does anyone know software for File format identification? I don't mean identification by file extension but by analyzing the byte stream. I would be interested in an open-source platform on which to develop. Thanks

  • 2
    For what OS? On most Unix/Linux platforms, it ships with the core and is named file. Guessing by so-called "magics" (first-bytes of a file), not by extension.
    – Izzy
    Commented Mar 27, 2015 at 13:16
  • For both Unix/Linux and Windows. Sorry, I haven't understood what You mean..
    – Filadelfo
    Commented Mar 27, 2015 at 13:56
  • See the file man page for the Unix file command; you run this on the command-line. I didn't make this an answer now as it's not available for Windows.
    – Izzy
    Commented Mar 27, 2015 at 15:04

1 Answer 1


You can use DROID (Digital Record Object Identification):

  • Open source (Java, BSD)
  • Perform automated batch identification of file formats.

enter preformatted text here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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