Number Base Converter — Binary, Octal, Decimal, Hex

Developer

A number base converter is a developer tool that rewrites an integer expressed in one radix (base 2–36), such as binary or hexadecimal, into another radix.

What is it

A radix (base) is how many digits are available per position. Computers store data in binary, and hexadecimal packs four binary bits into one digit, which is why it is used for memory addresses and color codes. This tool parses the input as an arbitrary-precision integer (BigInt), so conversions stay exact at any length, and digits above 9 use the letters A–Z. Only integers are supported (no fractional part), and everything runs in your browser.

value = Σ(digit × radix^position) — example: 1101(2) = 1×8 + 1×4 + 0×2 + 1×1 = 13(10)

How to use

  1. 1Enter the number to convert.
  2. 2Pick the input base and output base (2–36).
  3. 3Press convert, then copy the result or the binary/octal/decimal/hex summary table.

Reference

Number Base Converter — Binary, Octal, Decimal, Hex Reference
DecimalBinaryOctalHex
10101012A
42101010522A
100110010014464
25511111111377FF

Sources & standards

FAQ

Which bases are supported?

Every base from 2 to 36. Digit values above 9 are written with the letters A(10)–Z(35), and inputs with 0x, 0b, or 0o prefixes are recognized.

Are very large numbers converted exactly?

Yes. The converter uses arbitrary-precision integers (BigInt), so there is no digit limit. Fractional numbers are not supported — integers only.

Is my input sent to a server?

No. Conversion runs entirely in your browser and the input is never sent or stored.

Related tools