My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Decimal to Binary

Convert a nonnegative decimal integer to binary with large-number precision.

Enter one nonnegative whole number, not a list of bytes.

How to use this tool

Enter one base-10 whole number and process it.

Important to know

Convert a nonnegative decimal integer to binary with large-number precision.

No fractions, negative numbers or thousands separators. Up to 1,024 digits are supported.

Formula and methodology

Repeatedly divide the decimal integer by 2 and read the remainders in reverse.

Example

255 in decimal is 11111111 in binary.

Frequently asked questions

Does this encode text?

No. It converts one integer; use ASCII to Binary for text characters.