All conversions performed locally in your browser. No data is transmitted to any server. Very large integers are handled with full precision. Fractional results may be truncated — look for the ≈ symbol.
Each character is converted to its standard ASCII binary code (8 bits per character). For example: A = 01000001, a = 01100001, Z = 01011010. Supports letters, numbers, punctuation, and spaces — up to 255 characters.
Enter a number above to see the step-by-step conversion math here.
Most fractions do not terminate exactly in other bases. For example, decimal 0.1 in binary is the infinitely repeating 0.0001100110011… Results truncated at the precision limit are marked with ≈.
In signed two's complement, the most significant bit (MSB) is the sign bit. When it is 1, the number is negative. This matters for developers working with memory addresses, microcontrollers, assembly language, C/C++ integer types (int8_t, int16_t, int32_t, int64_t), and bitwise operations on fixed-width registers. The same bit pattern means different things depending on the integer width chosen.
Enter a number above to see its signed interpretation across all integer widths.
| Decimal | Hex | Binary | Octal |
|---|---|---|---|
| 0 | 0 | 0000 | 0 |
| 1 | 1 | 0001 | 1 |
| 2 | 2 | 0010 | 2 |
| 3 | 3 | 0011 | 3 |
| 4 | 4 | 0100 | 4 |
| 5 | 5 | 0101 | 5 |
| 6 | 6 | 0110 | 6 |
| 7 | 7 | 0111 | 7 |
| 8 | 8 | 1000 | 10 |
| 9 | 9 | 1001 | 11 |
| 10 | A | 1010 | 12 |
| 11 | B | 1011 | 13 |
| 12 | C | 1100 | 14 |
| 13 | D | 1101 | 15 |
| 14 | E | 1110 | 16 |
| 15 | F | 1111 | 17 |