Free Online Number Base Converter
Enter a value, choose the base it is written in, and see it in all five bases at once. Hex and base 36 digits are shown in upper case.
Different fields prefer different ways of writing the same quantity. A programmer reading a colour value like FF8800 may want the decimal figures, a networking student converting a subnet mask works in binary, and someone studying permissions on a Linux system meets octal digits like 755. Electronics hobbyists check register values in hex, and some developers use base 36 to shorten long numeric IDs into compact codes. Having one box that shows every base together saves repeating the conversion by hand for each.
Type the number into the Value field, which starts with 255, then pick the Input base from the dropdown: 10, 2, 8, 16 or 36. The results list shows Binary (2), Octal (8), Decimal (10), Hex (16) and Base 36 straight away. You may include a prefix such as 0x, 0b or 0o, and spaces or underscores inside the number are ignored, which helps when you paste binary written in groups. Letters are not case sensitive on input, and the hex and base 36 results are shown in capitals.
If a digit is not allowed in the base you chose, the tool names the offending character instead of guessing; typing 9 while the base is set to 2 is the usual culprit. Remember to change the dropdown when you paste hex, otherwise the letters will be rejected. The converter handles whole numbers only, so fractions and negative signs are not accepted, and it is meant for positive integers. Because it uses arbitrary-size integer arithmetic, very long values should still convert exactly rather than being rounded.
As a check, enter 255 with base 10. You should see 11111111 in binary, 377 in octal, FF in hex and 73 in base 36, because 7 times 36 plus 3 equals 255. Now set the input base to 16 and enter FF; every line stays the same, which confirms the two descriptions refer to the same number. For permission-style octal, entering 755 in base 8 gives 493 in decimal and 111101101 in binary, which maps neatly onto three groups of three permission bits.
Key Highlights:
- Free to use, no signup
- Instant results
- Processed in your browser
- Works on mobile and desktop

