Skip to main content

Number Base Converter

Number Base Converter | Rustcode

Number Base Converter

How to Use

Enter numbers in the format appropriate for the selected base:

  • Binary: 1010.101 (only 0-1 and .)
  • Octal: 755.24 (only 0-7 and .)
  • Decimal: 1234.56 (only 0-9 and .)
  • Hexadecimal: 1AF.3D (0-9, A-F and .)

Examples of valid inputs:

  • Binary: 1101.101
  • Octal: 777.07
  • Decimal: 12345.6789
  • Hex: FF.A3