Base Converter
Convert numbers between binary, octal, decimal, hex
Whole nonnegative numbers only. Prefix detection follows the selected base, so 0B12 remains hexadecimal in base 16.
Quick values
Processed on this device. Your text is not uploaded.
Converted numbers
Bit information
- Bit length
- —
- Byte length
- —
- Ones
- —
- Zeros
- —
How to use Base Converter
Choose the base of your number in "Input base" first, then type a whole number into "Enter number". The results appear under "Converted numbers", with the bit counts under "Bit information". Click the copy icon beside the base you need; it copies the value without spaces. Only whole, nonnegative numbers work: a minus sign, a point or a space is an invalid character. Typing FF with Decimal selected is an error, so set the base first or start the number with 0b, 0o or 0x. Long values keep every digit. Nothing is uploaded.