Number Base Converter
Shows the value at 8, 16, 32, and 64 bits, with the signed interpretation, so a register dump or a netmask can be read directly.
Runs in your browser
Data & encoding
Width and sign
How the same bit pattern reads at each register width, as two's complement.
| Width | Unsigned | Signed | Hex | Fits |
|---|---|---|---|---|
32-bit layout
Read as a dotted quad: — useful for netmasks and for values that turn out to be an address.
Notes
- Prefixes are accepted
-
0x,0o,0band underscores are stripped, so you can paste0xDEAD_BEEFstraight out of a source file or a register dump. - Large values stay exact
- Conversion uses BigInt, so 64-bit values do not lose precision the way they would through a JavaScript number. Anything above 253 is where naive converters start quietly rounding.
- Leading zeros mean octal in C
-
0755is 493, not 755 — the source of a good number of permission and port bugs. This tool treats each field as its own base, so the decimal field always means decimal.