Skip to content

Number Base Converter

Convert numbers between binary, octal, decimal, hex and any base 2–36 — any size — plus a bitwise calculator.

About Number Base Converter

This number base converter changes numbers between binary, octal, decimal, hexadecimal and any custom base from 2 to 36. Type a number, choose its base and see it in every other base at once, including very large numbers.

A bitwise calculator handles AND, OR, XOR, NOT and shift operations, which is useful for programming, networking and digital electronics. It helps students learning number base conversion as well as developers working with hex colours, memory addresses and flags. The converter is free, needs no sign-up and runs in your browser. Results update as you type.

How to use Number Base Converter

  1. Type a number and choose its base.
  2. See it in binary, octal, decimal, hex and a custom base.
  3. Use the bitwise calculator for AND, OR, XOR, NOT and shifts.

Frequently asked questions

How large can the numbers be?

Practically unlimited — the converter uses JavaScript BigInt, so 100-digit numbers convert exactly.

Which digits are used above base 10?

Letters a–z represent 10–35, so hexadecimal uses 0–9 and a–f, and base 36 uses all letters.

How is NOT calculated?

For unlimited-size integers ~A equals −(A+1). The 32-bit unsigned result is also shown, as used in C and JavaScript’s >>> 0.

How do I convert binary to decimal?

Multiply each binary digit by 2 raised to its position, counting from 0 on the right, and add them. So 1011 is 8 + 0 + 2 + 1 = 11.

How do I convert decimal to hexadecimal?

Divide the number by 16 repeatedly and write the remainders in reverse, using A–F for 10–15. For example, 255 is FF.

What is 100 in hex?

100 in decimal is 64 in hexadecimal.

People also search for

number base converter online · number base converter · number base conversion · number base calculator · binary to decimal · binary to decimal converter · binary to decimal online · decimal to hex converter · decimal to hexadecimal · hex to binary converter · hex to binary online · 100 decimal to hex

Related tools