Decimal to Binary

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Decimal to Binary. Convert integers from base 10 to base 2 exactly. Two’s complement mode uses a fixed bit width.

Result

  

Loading the tool…

How to use Decimal to Binary

How do I use it?

  1. Fill in or select the input.
  2. Click to run and check the results.
  3. You can copy the text or download the results into a file.

How it works and example

Convert integers from base 10 to base 2 exactly. Two’s complement mode uses a fixed bit width.

42 → 101010. In plain mode, a minus sign indicates a negative value.

Input limits

Related tools

Search tools