Skip to main content
Alona Tool – Free Online Tools

Number Base Converter

Runs in Your Browser

Convert a whole number between binary, octal, decimal, hexadecimal and base 36.

Browser-based: this tool works on your device and does not send your input to an Alona Tool server. See the Privacy Policy for details.
Fast Processing

Loading Number Base Converter… This tool is an interactive page and needs JavaScript enabled in your browser.

Example Usage & Test Cases

Decimal 255
Input Scenario:
255, input base 10
Generated Result:
Binary 11111111, octal 377, hex FF, base 36 73

How It Works

1

Enter the value.

2

Choose its input base (10, 2, 8, 16 or 36).

3

Read the same number in every base and copy the one you need.

Frequently Asked Questions

This tool is for whole numbers only.

Good to Know

Common uses

  • Checking binary and hex values while programming
  • Converting memory addresses or color values

Limitations and notes

  • Whole, non-negative numbers only; there is no fraction or minus-sign support.
  • Prefixes such as 0x, 0b and 0o and spaces or underscores in the input are ignored.

Related Tools

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