Number Base Converter

Convert a number between binary, octal, decimal, and hexadecimal live, or between any two bases from 2 to 36.

Type in any field, the other three update live. Supports negative numbers and arbitrarily large integers.

Custom base conversion

Convert between any two bases from 2 to 36.

Common questions

What bases are supported?

The four main fields cover binary, octal, decimal, and hexadecimal. The custom converter below handles any base from 2 to 36, using digits 0-9 and letters a-z.

Does it handle very large numbers?

Yes. Conversions use JavaScript's BigInt internally, so there's no precision loss even for numbers far beyond what a normal 64-bit number can hold accurately.

Can I convert negative numbers?

Yes, prefix the value with a minus sign in any field.