How to use Decimal to Binary
How do I use it?
- Fill in or select the input.
- Click to run and check the results.
- 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
- Supports empty and underlined grouping, and 0x/0b prefixes that match input-inwards. Up to 4096 digits; patch bit width 1-4096.