🔢 Number Base Converter

Convert numbers from any base from 2 to 36 into six common bases. Real-time conversion with BigInt support for arbitrarily large numbers.

Last updated: November 8, 2026 · By the BoltQuickTools team

or custom (2-36):
Binary (Base 2)
Octal (Base 8)
Decimal (Base 10)
Hexadecimal (Base 16)
Base 32
Base 36

Reading one number in several bases at once

A hex value in a debugger, an octal file mode, a bitmask in binary: the same integer shows up in different notations, and converting by hand is error-prone. This page takes a whole number in any base from 2 to 36 and shows it in six common bases together.

Converting a value

  1. Choose the base of your input with the Input Base dropdown, a quick button (BIN, OCT, DEC, HEX, B32, B36), or the or custom (2-36) field.
  2. Type the value into Number Input. Results appear as you type. Spaces and underscores are ignored, so 1_000 000 is fine.
  3. Read the cards for binary, octal, decimal, hexadecimal, base 32 and base 36. Use Copy on any of them.
  4. Tick Show signed binary (two's complement, 8/16/32/64-bit) to see a negative number at each width it fits.

Converted values

Input 0xDEADBEEF with HEX selected:

CardValue shown
Binary0b1101 1110 1010 1101 1011 1110 1110 1111
Octal0o33653337357
Decimal3735928559
Hexadecimal0xDE AD BE EF
Base 323farfnf
Base 361ps9wxb

The line below the cards reads Bit length: 32 bits | Fits in: 32-bit unsigned.

Input -128 in decimal with the signed box ticked fills the binary card with:

8-bit:  1000 0000
16-bit: 1111 1111 1000 0000
32-bit: 1111 1111 1111 1111 1111 1111 1000 0000
64-bit: 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1000 0000

Input rules and known problems

For Unix file modes, the chmod calculator shows what each octal digit grants. To turn text into its binary bytes rather than convert a number, use the binary and text converter, and for looking at raw file bytes, the hex editor.

Questions about the output

Why does the binary card show extra leading zeros?

Binary is padded to groups of four and hex to pairs for reading. 5 displays as 0101. Copy gives the unpadded form, 0b101.

Can it handle numbers beyond 64 bits?

Yes. It uses BigInt, so a 77-bit value converts exactly. The two's complement view lists only 8, 16, 32 and 64 bits, so a negative number beyond 64 bits falls back to sign and magnitude.

Is letter case important in the input?

No. deadbeef and DEADBEEF are the same. Output is uppercase for hexadecimal and lowercase for bases 32 and 36.