digvibes Shop products
All tools ✳ DEVELOPER TOOLS

Number base converter binary to hex & more.

Type in any field to convert between binary, octal, decimal, hexadecimal and custom bases up to 36. Works with very large integers.

✓ Free✓ No sign-up✓ Runs in your browser
NUMBER BASE CONVERTER↳ Nothing is uploaded

About this number base converter

Computers store numbers in binary (base 2), programmers often write them in hexadecimal (base 16) and file permissions use octal (base 8). This converter keeps all of them in sync as you type, and supports any base from 2 to 36 using digits 0–9 and letters A–Z.

It uses JavaScript BigInt, so even 64-bit, 128-bit and larger values convert exactly without rounding. Prefixes like 0x, 0b and 0o are accepted.

How to use it

  1. Type a number in any field: decimal, binary, hex or octal.
  2. All other fields update instantly.
  3. Pick any base from 2 to 36 in the custom field.
  4. Prefixes like 0x and 0b are accepted.

Frequently asked questions

How do I convert binary to decimal?+

Type the binary number in the Binary field; the decimal value appears instantly in the Decimal field.

Can it convert negative numbers?+

Yes, add a minus sign. Values are shown with a sign rather than two’s complement.

What is the largest number supported?+

There is no fixed limit — BigInt handles numbers with hundreds of digits.

MORE FREE TOOLS

Useful tools for what comes next.