Convert numbers between binary, octal, decimal, and hexadecimal instantly. Powered by BigInt for large values.
Programmers working with bitmasks, colour codes, and low-level data.
Type in any base
Enter a value into the binary, octal, decimal, or hex field.
See all bases
The other three fields update instantly with the equivalent value.
Copy a value
Click the copy icon next to the base you need.
Working with binary, octal, and hexadecimal is routine in low-level programming, but mental conversion is slow and error-prone. This tool converts a number across all four bases at once, using BigInt so even very large numbers stay exact.
Bitmasks & flags
Convert binary flag values to hex and decimal while coding.
Colour & encoding work
Translate hex colour or byte values into decimal and binary.
Learning CS
Understand how the same number is represented across number systems.
It uses JavaScript BigInt, so it stays accurate for numbers far beyond the normal 64-bit range.
It is designed for non-negative whole numbers across bases.
No. It runs entirely in your browser.