HexMap — Hex Viewer

A fast, read-only custom editor for VS Code that renders embedded firmware images — Intel HEX, Motorola S-Records, TI-TXT, and raw binary — as an address-accurate hex dump with automatic gap detection, binary diffing, and an interactive data inspector.
Built for embedded & firmware engineers working with .hex, .ihex, .h68, .mot, .srec, .s19, .s28, .s37, .titxt, and .bin build artifacts.
Key Features
Address-Accurate Firmware View
- Real Target Addresses — displays actual Flash/RAM addresses (e.g.
0x08000000), not raw file offsets. Unaligned segment starts are padded so bytes always align under 00..0F / 00..1F lane headers.
- Custom Base Offset for
.bin — set any base address (e.g. 0x08000000 or 0x00004000) for raw binary images.
- Gap Detection & Clickable Memory Map — non-contiguous address ranges appear as explicit
GAP rows and are visualized in a clickable memory map bar above the view.
Inspection, Diff & Search
- Compare Baseline (
Compare) — pick a previous .hex, .bin, .srec, or .titxt image to highlight every changed byte in place.
- Interactive Data Inspector — click any byte (or
Shift+Click a range) to inspect u8/i8, u16/i16, u32/i32, u64, f32, binary bits, and selection CRC-32.
- One-Click Export & Copy — Copy Hex, Copy C (
const uint8_t data[...]), Copy Py (b"..."), Export .bin, or click any address to copy it.
- Configurable Layout — switch Cols (
8 / 16 / 32), Group (1 / 2 / 4 / 8 bytes), Endian (LE / BE), and toggle ASCII / gaps / data.
- Find, Filter & Strings — search across row boundaries by
0x address, hex bytes, or ASCII, extract printable strings, and inspect File SHA-256 / Payload SHA-256 / CRC-32.
| Extension |
Format |
Details |
.hex .ihex .h68 |
Intel HEX |
Record types 00–05, extended linear/segment addressing, checksum verification, entry point |
.mot .srec .s19 .s28 .s37 |
Motorola S-Record |
S0–S9, checksum verification, S7/S8/S9 entry point |
.titxt |
TI-TXT |
@ADDR sections with q terminator (TI MSP430 / MSPM0) |
.bin |
Raw Binary |
Base 0 with configurable base offset |
EmbeddedMap Suite
Part of the EmbeddedMap Pack (MohamedHakeem.embeddedmap-pack):
- HexMap (
hexmap-viewer) · LinkMap (linkmap-ld) · MemMap (ldmap-syntax) · ElfMap (elfmap-viewer) · LinMap (ldf-syntax-analyzer) · CanMap (canmap-dbc) · StackMap (stackmap-su) · SvdMap (svdmap-svd)
License
MIT — see LICENSE.
| |