Number Base Converter
Convert integers between binary, octal, decimal and hexadecimal. Handles very large numbers and 0x, 0b and 0o prefixes.
Convert integers between binary, octal, decimal and hexadecimal. Handles very large numbers and 0x, 0b and 0o prefixes.
Programmers often switch between number bases: binary for bit flags, hexadecimal for colors and memory addresses, decimal for everyday values.
Enter a number, choose its base (or use a 0x, 0b or 0o prefix), and see it in all four bases.
255 = 11111111 (binary) = 377 (octal) = FF (hex)
No. Only whole numbers (integers) are supported.
Very large. It uses BigInt, so there is no 53-bit limit.
With a minus sign in each base, not as two's complement.
No. It runs in your browser.