HEX, Hexadecimal Source File (.hex)

The HEX Misc file format

Files with the HEX file format extension contain different information saved in a hexadecimal format. Those information include settings and configurations as well as other kinds of data. The HEX files are used by many compilers or assemblers. A program's source code is converted into machine code by these programs, generating a HEX file as the output.

Technical details of HEX files

HEX files are used by a number of programs. They are either saved in a text format which allows any common text editing program to open them. Some HEX files, however, are saved in a binary format. In this case, a special hex-editing program is needed to open and view the content of the files. The line of text saved in the HEX file contains six fields. They consist of the start code, byte count, address, record type, data and a checksum.

More information about the HEX file format

File extension .hex
File category Misc
Example file Download example.hex file (7.60 KiB)
Associated programs Cygnus Hex Editor (Windows)
Heaventools FlexHex (Windows)
Hex Workshop Hex Editor (Windows)
HHD Hex Editor (Windows)
Useful links More information about HEX files
Developer N/A