0x

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Shows all bases simultaneously.

Enter a number above to see conversions in all bases.

How to Use

  1. Select the input base: binary, octal, decimal, or hexadecimal.
  2. Type your number in the input field.
  3. All four base representations update instantly — copy any one with its Copy button.

Frequently Asked Questions

What bases are supported?
The tool supports the four most common bases: binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).
Are uppercase hex letters supported?
Yes. The hexadecimal output uses uppercase letters A–F by default, which is the most common convention in low-level programming.
Can I convert negative numbers?
The tool currently converts non-negative integers. Negative numbers in two's complement representation are not yet supported.
What is the maximum value?
Conversions are handled as JavaScript BigInt internally, so very large numbers well beyond 2^53 are supported accurately.