Decimal to Binary

Decimal to Binary

Convert a non-negative decimal integer to binary without floating-point rounding.

Try this example

Convert 1025 and check that only the first and last binary digits are 1: 1025 is 1024 + 1.

1025

Expected result

10000000001

Outputs use at least eight digits for readability. Leading zeros do not change the value. The input must fit in 1024 bits.

Related walkthrough · Prepare a safe test copy before using an online tool

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies