Command-Line Binary Conversion Tool
A powerful Java-based command-line utility for converting Intel HEX files to binary format. Supports memory range specification, custom address mapping, and batch processing for embedded systems development.
Professional-grade file conversion with advanced options for embedded development
Full support for Intel HEX format with all record types including data, extended address, segment address, and EOF records.
Specify custom start and end addresses to extract specific memory regions from HEX files for targeted firmware updates.
Simple and intuitive CLI with comprehensive help documentation and error handling for seamless integration into build processes.
Built-in checksum verification and record validation to ensure data integrity during the conversion process.
Designed for embedded development workflows with support for various microcontroller architectures and compiler outputs.
Efficient processing of multiple files and integration with automated build systems and continuous deployment pipelines.
Understanding the structure of Intel HEX encoded binary files
Intel HEX is an ASCII text-based file format that represents binary data in hexadecimal encoding. Each line (record) starts with a colon ':' and contains hexadecimal characters encoding the record type, data length, memory address, payload data, and checksum.
ASCII colon ':' character indicating the start of a record
Number of data bytes (0-255) in the record
16-bit starting load address for data records
Record type: 00=Data, 01=EOF, 02=Extended Segment, 03=Start Segment, 04=Extended Linear, 05=Start Linear
Payload containing the actual binary data in hexadecimal
Two's complement checksum ensuring data integrity
Execute the JAR file from command line with various options
Display usage information and available options
IntelHexToBin -h
Convert an entire HEX file to binary format
IntelHexToBin -i input.hex -o output.bin
Extract a specific memory range from the HEX file
IntelHexToBin -i input.hex -o output.bin -s 0x1000 -e 0x2000