Decimal to binary converter
Enter a whole decimal number.
Convert a decimal number to binary.
About this tool
The decimal to binary converter changes a whole base 10 number into a sequence of zeros and ones. Use it to learn place values, prepare bit masks, or check values while writing low-level code. It can also help explain how computers store ordinary numbers. Enter a positive or negative whole decimal value, then copy the equivalent binary representation for your notes, code, or test case.