Binary Converter
Decimal to binary
Use this tool
Decimal to binary
How to use this tool
Enter a non-negative whole decimal number and select Convert. The result expresses that integer using base 2, with digits 0 and 1.
Worked example
Decimal 13 becomes binary 1101 because 13 = 8 + 4 + 1. Decimal 0 becomes 0.
What to keep in mind
Use whole numbers within JavaScript’s safe integer range. This is decimal-to-binary conversion, not text encoding or binary-to-decimal decoding.