Enter a number in any field and the rest recalculate automatically.
Unsigned — non-negative value (0 to 2ⁿ−1).
Signed — negative interpretation in two's complement (−2ⁿ⁻¹ to 2ⁿ⁻¹−1). The bit pattern (BIN, HEX) stays the same.
The "Character" field shows the Unicode/ASCII character for the decimal value. Pure ASCII is range 0–127, values 128–255 map to Latin-1 (ISO 8859-1). For bit widths over 8 bits, the character from the lowest 8 bits is shown.
Click a row to load it into the converter:
| DEC (u) | DEC (s) | HEX | BIN | Note |
|---|---|---|---|---|
| 255 | −1 | FF | 11111111 | Maska 0xFF / −1 signed |
| 128 | −128 | 80 | 10000000 | INT8_MIN |
| 127 | 127 | 7F | 01111111 | INT8_MAX |
| 65 | 65 | 41 | 01000001 | ASCII 'A' |
| 13 | 13 | 0D | 00001101 | CR \r |
| 10 | 10 | 0A | 00001010 | LF \n |
| 4095 | −1 | FFF | 111111111111 | 12-bit ADC (ESP32) |
Input format: 255 (dec) · 0xFF (hex) · 11111111 or 0b... (bin). A string of only 0s and 1s is treated as binary — for decimal use the 0d prefix (e.g. 0d11).
The result format follows operand A — if you enter A as hex, the result is hex. The other bases (dec · hex · bin) are always shown below the result.