Developer Tools
Decimal (base 10) → Binary (Base 2)
Decimal (base 10) → Binary (Base 2). Convert decimal (base 10) numbers to binary (base 2) representation.
Parameters
Enter the number to convert (digits valid for the selected base)
The base of the input number
Results
Binary (Base 2)
1111 1111
Binary representation with 4-bit grouping
Other results (5)
Octal (Base 8)
377
Octal representation
Decimal (Base 10)
255
Decimal representation
Hexadecimal (Base 16)
0xFF
Hexadecimal representation with 0x prefix
Bit Length8
Number of bits required to represent this number
As Byte (0x00–0xFF)
0xFF
Single-byte hex representation
Example input and result
2551111 1111Integer input only, up to 4,096 digits. Negative values use a minus sign; this is not a fixed-width two’s-complement representation.
Why Choose Decimal (base 10) → Binary (Base 2)
Decimal (base 10) → Binary (Base 2). Convert decimal (base 10) numbers to binary (base 2) representation.
Authoritative References & Sources
MDN — BigInt
View SourceRelated Tools
Explore more practical tools for the same task.
