Tool 022
Base converter
Convert integers between binary, octal, decimal, and hexadecimal with exact precision. Everything happens in your browser.
Number
InputDigit separators (_) and a matching prefix (0x, 0b, 0o) are accepted. Negative integers work too.
Conversions
4 bases- Binary0b
- Octal0o
- Decimal—
- Hexadecimal0x