Free Tool Directory / Other Tools / Number Base Converter

Number Base Converter

Free number base converter: convert between decimal, hexadecimal, binary and octal, including very large numbers with BigInt. All in your browser.

Convert numbers between decimal, hexadecimal, binary and octal, including very large numbers handled exactly with BigInt, all in your browser. Type a number, pick its base or leave auto-detect on, and see the same value in all four bases. A programming student can check a hex colour value against its decimal form in seconds.

Open tool →

Free to use, no sign-up. The tool opens on its own page and runs in your browser.

Need more? Go Pro

Pro: download your Number Base results as CSV & save history, $5 one-time

Get Pro →

Alipay — $5

Or unlock every tool with All-Access Pro — $15 once.

Get All-Access — $15 once

Alipay — $15

Prices are adjusted by country so the same tool costs less where incomes are lower — you see the price for your country.

Prefer Alipay? See all payment options.

Already paid? Log in to Pro

How to use it

  1. Type a number and pick its base (or leave auto-detect on).
  2. Press Convert to see the same value in all four bases.
  3. Copy any result you need.

Common questions

What do 0x, 0b and 0o mean?

They are prefixes that say which base a number is written in: 0xFF is hexadecimal, 0b1010 is binary, 0o17 is octal. This tool understands them automatically.

How large can the number be?

Practically unlimited. The conversion uses JavaScript BigInt, so numbers far beyond the usual 53-bit safe-integer limit still convert exactly.

Why is 255 written as FF in hex?

Hex uses 16 digits, so each hex digit holds 4 bits. 255 is 11111111 in binary — two groups of four 1-bits — which is FF in hex.

More Other Tools tools

← Back to all tools · Browse guides