Number Base Converter

Convert integers between bases 2–36, keep prefixes, group digits for readability, and copy quick references for binary, octal, decimal, and hexadecimal all at once.

Supports optional prefixes like 0x, 0b, and underscore separators for readability. Negative numbers are welcome. Fractional values will be supported soon.

Uppercase digits

Helps when working with hexadecimal or bases above 10.

Group digits every

Improves legibility for large numbers.

Value in base 10
10

Original base 2

Decimal
10

Base 10 representation

Bit length
4 bits

Length of the binary representation

Sign
Non-negative

Conversions always preserve the sign

Quick conversions

Handy references in popular bases. Click any line to copy the value instantly.

Frequently Asked Questions