Number base

Type a number in any base — binary, octal, decimal or hex — and see it in all the others at once. Handles arbitrarily large integers.

Type a number in any base — binary, octal, decimal or hex — and see it in all the others at once. Handles arbitrarily large integers.

How to use

  1. Enter the number in any of the fields
  2. The other bases update instantly
  3. Copy the one you need

Frequently asked questions

Can it handle very large numbers?

Yes — conversion uses big-integer arithmetic, so precision isn't lost on long values.

Why does hex matter?

Hexadecimal maps neatly to bytes (two digits per byte) — that's why memory addresses, colors and hashes use it.

Are negative numbers supported?

Enter the sign explicitly; the tool converts the absolute value with the sign preserved.