Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Free and private, right in your browser.
Type a number in binary, octal, decimal, or hex and see it instantly converted to the others, handy for reading memory addresses, debugging bitwise code, or converting color values and IP octets without doing the math by hand.
How to use it
- Enter a number in any base (binary, octal, decimal, or hex)
- The tool detects or lets you set the input base
- Read the converted values in the other bases instantly
Frequently asked questions
- How do I convert a hex color code like #FF5733 to decimal?
- Drop the # and enter FF5733 as hex input (or convert each pair separately, e.g. FF, 57, 33) to get the RGB decimal values 255, 87, 51.
- Does it handle negative numbers or two's complement?
- Yes for negative decimal input, the tool shows the two's complement binary representation, which is what you'll see in most programming languages and debuggers.
- What's the largest number it supports before losing precision?
- Standard conversions are safe up to 53-bit integers (JavaScript's safe integer limit, about 9 quadrillion); beyond that, very large hex or binary values may round.
- 1
Nothing is uploaded
The file never leaves your device. There is no server to send it to, so there is nothing to leak, log, or subpoena.
- 2
No signup, no limits
No account, no email, no daily cap, no watermark, and no paid tier waiting behind the third file.
- 3
Works offline
Load the page once and it keeps working with the network off, because all the work was always happening locally.