Number bases
- Binary (base 2): digits 0 and 1 — how computers store everything.
- Octal (base 8): 0–7. Mostly seen today in Unix file permissions like 755.
- Decimal (base 10): everyday numbers.
- Hexadecimal (base 16): 0–9 then A–F. Used for bytes, memory addresses and colors.
Prefixes
Code marks the base with a prefix: 0x for hex, 0b for binary and 0o for octal. Paste a prefixed number and the converter uses that base automatically. Underscores and spaces between digit groups are ignored.