Number Base Converter
Input
Type in any base, the others update.
Binary (2)
Octal (8)
Decimal (10)
Hex (16)
Representations
—
Current decimal value
Allowed characters per base:
- 2 : 0, 1
- 8 : 0-7
- 10 : 0-9
- 16 : 0-9, a-f
- 36 : 0-9, a-z
How to use the converter?
Type a value in the base of your choice — binary, octal, decimal or hex. The other bases update instantly. A custom base (up to 36) is available for less common needs.
Error handling
If you enter an invalid character for the base (e.g. a 2 in binary), the value is ignored. The decimal shown at the top of the right pane reflects the equivalent integer.