Binary & Hex Converter
Convert a number between binary, octal, decimal and hex, exact at any size
8 bits · 1 byte
| Width | Unsigned | Signed | Hex |
|---|---|---|---|
| 8-bit | 255 | -1 | FF |
| 16-bit | 255 | 255 | 00FF |
| 32-bit | 255 | 255 | 000000FF |
| 64-bit | 255 | 255 | 00000000000000FF |
On the highlighted rows the top bit is set, so the same bytes mean one thing to an unsigned type and another to a signed one.