About this tool
The Number Base Converter turns a whole number into binary, octal, decimal, hexadecimal and any other base from 2 to 36 as you type. Edit any field and the others follow, so you can paste a hex value and read it in binary, or type a decimal and get base 36. Calculations use arbitrary-precision integers, so a 300-digit number converts exactly with no rounding, and negative numbers are supported. Separators are accepted in the input (spaces, underscores, commas) along with 0x, 0b and 0o prefixes, and you can group digits in the output for readability and switch hex to uppercase. For programmers, the two's complement view shows the 8, 16, 32 or 64-bit pattern for a value in binary and hex, and what that pattern means read as a signed or unsigned integer, so you can see why 255 and -1 share the same byte. Everything runs in your browser.
