Hex Scope

Firmware memory explorer and editor for VS Code. Open Intel HEX, Motorola SREC, and raw binary files as address-aware memory, inspect the data, decode C types, verify integrity values, and patch bytes without leaving the editor.

What it does
| Capability |
What you get |
| Open |
Intel HEX, Motorola SREC, and raw binary as address-aware memory, with gaps between mapped regions. HEX/SREC also get a records table with per-record checksum status. |
| Inspect |
Selected bytes as integers or as C types with arrays, nested types, pointers, and bit fields. |
| Search |
Byte sequences, numeric values in either endianness, ASCII text, or addresses. |
| Check |
CRC-16/32, MD5, or SHA-1/256/512 over a range, compared with the value stored in the image; mismatches can be staged as fixes. |
| Edit |
Undoable byte edits, checksum-aware Save for HEX/SREC, byte-for-byte Save for raw binaries, Quick Repair, copy/cut/paste with insert and region modes, and a read-only two-file diff. |
| Automate |
TypeScript or JavaScript in .hexscope/scripts/ for reads, writes, hashes, external tools, and HTTP, with confirmation for writes and external actions. See the scripting guide. |
Quick start
- Right-click a supported file and choose Open with HexScope Viewer.
- Choose Edit, change bytes, then Save.
- Compare: Set as 1st file to compare, then Compare with the 1st file; or select two files and choose Compare Two Files.
- For a raw
.bin, set its base address in the profile bar. The value is stored per file and reused.
| Format |
Extensions |
| Intel HEX |
.hex, .ihx, .ihex |
| Motorola SREC |
.srec, .mot, .s19, .s28, .s37 |
| Raw binary |
.bin |
Raw .bin files contain no addresses, so they open at their stored per-file base (or 0x00000000 when none is set).
Documentation
Issues
Found a bug or want a feature? Open an issue: Issues. Include a short description, steps to reproduce, and sample files when possible.
| |