piko

Decimal to binary

Convert base-10 integers into binary (base-2) with grouped 4-bit nibbles, hex, and octal equivalents.

Runs on your device. Nothing you add is uploaded.

Binary
101010
Grouped: 0010 1010
Bit width
6 bits
Hexadecimal
0x2A
Octal
0o52

How to use Decimal to binary

  1. Enter any base-10 integer (positive, negative, or huge).
  2. Keep the minus sign if the input is negative.
  3. Copy the raw binary string or the 4-bit nibble-grouped form.

Questions

Each 4-bit nibble maps directly to one hexadecimal digit (0–F), making long binary strings much easier to read.

How this works

Converts base-10 integers using exact BigInt division by 2.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy

Related tools

More in Calculators