Number Base Converter

Convert numbers between binary, decimal, hex and more.

Results

Runs on your device.

Questions

How large can the numbers be?

There is no practical limit: the tool uses arbitrary-precision integers, so a 200-digit decimal number converts exactly. Fractions are not supported; type whole numbers only.

Can I paste values like 0xFF or 0b1010?

Yes. The prefixes 0x, 0b and 0o are accepted when they match the base you convert from. Spaces, underscores and commas between digits are ignored, and a leading minus sign is kept.

How are negative numbers shown?

With a minus sign in every base, for example −255 is -ff in hexadecimal. Computers usually store negative numbers as two’s complement, which depends on a fixed width like 32 bits, so it isn’t shown here.

Which digits are used above base 10?

The letters a to z, so base 16 uses 0–9 and a–f and base 36 uses all digits and letters. Letters are case-insensitive when typed; tick “Uppercase letters” to show them in capitals.

Is it free? Do I need an account?

It is free to use and there is nothing to sign up for. There are no watermarks and no daily limits.

Missing something, or not working as it should? Tell us