Hex / binary inspector
Open a binary file as hex: byte offsets, selection length, re-spacing and DES parity.
- Runs in your browser
- No sign-up
Input
0 bytes.
Result
- Cursor
- character 0 · byte 0 (0x0)
- Selection
- 0 characters · 0 bytes (0x0)
- Total
- 0 bytes (0x0)
Byte offsets count hex digits only. Comments (//, # or ; to the end of the line, and /* */), separators and a 0x at the start of a value are skipped; any other text is listed above and not counted. Spacing acts on the selection, or on everything when nothing is selected, keeps comments and refuses text that is not hex. Parity sets the low bit of every selected byte (DES key parity) and needs whole hex bytes selected.
Stuck on a hex dump from a card or terminal log? IDNTEQ can help. EMV transaction troubleshooting
About this tool
Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.
Open a binary file (a perso file, a CAP file, a dump) and see it as one block of hex. Click anywhere to get the byte offset, select a range to get its length, re-space the bytes, or set DES parity on the selected bytes.
Offsets and selections
The cursor position is shown in characters and in bytes, in decimal and hex. Byte offsets count hex digits only: spaces, line breaks, the separators : , _ and -, a 0x prefix at the start of a token, and comments (//, # or ; to the end of the line, and /* … */) are skipped, and a word that is not hex is listed instead of being counted. Selecting a range shows its length the same way, which is the quick way to check a length field against the data it covers.
Spacing and parity
Add spaces between bytes or remove all whitespace, either on the selection or on the whole text. Set parity puts odd or even parity on every selected byte by adjusting its lowest bit, as DES keys require; the selection has to be whole bytes of hex.
Spec references
- FIPS 46-3 (DES key parity)
Verified against
- Specifications
- FIPS 46-3 (DES key parity)
- Published examples in the tests
- None: no published example with these inputs was found. The checks below are the ones the tests run.
- Other checks in the tests
- Byte counts ignore separators, 0x prefixes and comments; text that is not hex is listed, not counted
- Cursor and selection offsets in bytes; spacing on a selection or the whole text; parity on whole bytes only
- Inputs
- A binary file (shown as hex) or pasted hex. Large texts are counted when typing pauses.
- Not covered
- No structure is decoded here: use the TLV, DGI or APDU tools.
- Last reviewed