Something what will highlight or prettyprint file's internal structure. Like hex editor, but more intelligent. It should either know most common files already, or should be configurable enough.
Something like Wireshark, but for files.
Windows or Linux is fine.