Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal instantly. Great for programming and debugging.
Signed values keep their minus sign. Two’s complement is never assumed; select a bit width to request that representation.
Bit patterns? Binary translator · subnets: CIDR calculator · Morse: Morse translator.
How to use
Choose any input base from 2 to 36, then enter an integer using digits 0–9 and letters A–Z. Every character is checked before exact BigInt conversion.
FAQ
Which bases are supported?
Inputs may use any base from 2 through 36. Results always include binary, octal, decimal and hexadecimal.
Does it handle large numbers?
Yes. Integer digits are validated one by one and converted with BigInt, so values are not limited to JavaScript’s 53-bit safe-integer range.
How are negative values and two’s complement handled?
Normal results keep the minus sign. A two’s-complement bit pattern is shown only after you select an explicit signed bit width.
Last updated: