Number Base Converter

LocalRuns in your browser; files and input stay on this deviceFreeFree to use

Convert numbers between binary, octal, decimal, and hexadecimal instantly. Type in any base and see all the others update live.

Input base
Value
  • Binary
  • Octal
  • Decimal
  • Hexadecimal
Runs in your browser; files and input stay on this device

About number bases

A number base (radix) is how many digits are used to represent values: binary uses 2, octal 8, decimal 10, and hexadecimal 16. Programmers convert between them constantly — hex for colors and memory, binary for bit masks, decimal for humans. This converter parses your input in the base you choose and renders it in every other base, entirely in your browser.

How to use Number Base Converter

  1. 1Choose the base of the number you are entering.
  2. 2Enter a whole number using digits valid for that base.
  3. 3Read or copy its binary, octal, decimal, and hexadecimal forms.

Frequently asked questions

Which number bases are supported?
The converter supports base 2 (binary), base 8 (octal), base 10 (decimal), and base 16 (hexadecimal).
Can I convert fractions or negative numbers?
No. This interface accepts non-negative whole numbers only; decimal points and minus signs are not valid input.
Are 0b, 0o, and 0x prefixes required?
No. You choose the input base separately. If a matching prefix is present, the tool strips it before conversion.