Overview Version History Q & A Rating & Review
HEX File Viewer
This extension lets you see raw hexadecimal bytes data of any file! Choose Open in HEX view in the right-click menu of a file in the tree view.
The bytes are currently only decoded in ASCII.
Example - viewing this extension's icon file (first 18 lines of output):
0000000000000000 89 50 4E 47 0D 0A 1A 0A | .PNG....
0000000000000008 00 00 00 0D 49 48 44 52 | ....IHDR
0000000000000010 00 00 01 3F 00 00 01 3F | ...?...?
0000000000000018 08 06 00 00 00 30 A6 C4 | .....0..
0000000000000020 AB 00 00 00 01 73 52 47 | .....sRG
0000000000000028 42 00 AE CE 1C E9 00 00 | B.......
0000000000000030 00 04 67 41 4D 41 00 00 | ..gAMA..
0000000000000038 B1 8F 0B FC 61 05 00 00 | ....a...
0000000000000040 00 09 70 48 59 73 00 00 | ..pHYs..
0000000000000048 0E BF 00 00 0E BF 01 38 | .......8
0000000000000050 05 53 24 00 00 01 87 69 | .S$....i
0000000000000058 54 58 74 58 4D 4C 3A 63 | TXtXML:c
0000000000000060 6F 6D 2E 61 64 6F 62 65 | om.adobe
0000000000000068 2E 78 6D 70 00 00 00 00 | .xmp....
0000000000000070 00 3C 3F 78 70 61 63 6B | .<?xpack
0000000000000078 65 74 20 62 65 67 69 6E | et begin
0000000000000080 3D 27 EF BB BF 27 20 69 | ='...' i
0000000000000088 64 3D 27 57 35 4D 30 4D | d='W5M0M
Configuration (the config values specified are defaults):
{
"hexFileViewer.groupSize": 8, // Number of bytes per group (line)
"hexFileViewer.addressWidth": 8, // Width of the address column in bytes
}