About the Decimal to Binary Converter
Use this free browser tool to convert a number between decimal, binary, hexadecimal, and octal. It helps students, programmers, engineers, and anyone working with number systems. Enter your number, then choose its current base: decimal, binary, hexadecimal, or octal. The tool shows the matching value in all four bases. Results update instantly as you type, so you do not need a calculate button. You can copy each result or share a link that reopens with your numbers. The tool runs in your browser, and nothing is uploaded. It is more useful than a basic decimal-to-binary page because you can convert from any supported base and compare four results together. For the safest input across regions, use an ungrouped number and a period for any decimal fraction, such as 1234.5.
How to use it
- 1Enter a value in the Number field.
- 2Select the base of your input: Decimal (base 10), Binary (base 2), Hexadecimal (base 16), or Octal (base 8).
- 3Read the instant Binary, Decimal, Hexadecimal, and Octal results.
- 4Copy a result when you need it.
- 5Share the link to reopen the tool with your numbers.
Worked example
Enter Number 156 and select Decimal (base 10). The results are Binary: 10011100, Decimal: 156, Hexadecimal: 9C, and Octal: 234.
How it works
To get binary, divide by 2 again and again and read the remainders from bottom to top: 156 = 10011100Hexadecimal uses 0 to 9 and A to F; one hex digit is four binary digitsSource: FreeToolr Decimal to Binary ConverterIEEE Standard 754-2019. Last checked 2 November 2026.
What it is good for
- Convert between four number bases in one tool.
- See results update instantly as you type.
- Copy results or share a link with your numbers.
- The interface does not state its full rules for fractions, negative values, or very large numbers.
- Locale input rules are not stated, so use an ungrouped value with a period for any decimal fraction.
Questions people ask
How do you convert decimal to binary?
Divide the whole number by 2 repeatedly and record each remainder. Read the remainders from bottom to top, so 13 becomes 1101.
What is 156 in binary?
156 in base 10 is 10011100 in base 2. The same value is 9C in hexadecimal and 234 in octal.
What number bases does this converter support?
You can enter a number as decimal, binary, hexadecimal, or octal. The tool shows Binary, Decimal, Hexadecimal, and Octal results.
What is the difference between decimal and binary?
Decimal is base 10 and uses digits from 0 to 9. Binary is base 2 and uses only 0 and 1.
Can I enter a decimal fraction?
The page does not state complete rules for decimal fractions. If you try one, use a period as the decimal separator, such as 1234.5.
Why does hexadecimal use letters?
Hexadecimal is base 16, so it needs 16 symbols. It uses 0 to 9, then A to F, with one hex digit matching four binary digits.
Does the tool upload my number?
No. The tool runs in your browser, and nothing is uploaded. Results update as you type.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.