Convert between binary, octal, decimal, and hexadecimal — supports big numbers
Converting numbers between different bases is essential for programmers, students, and anyone working with low-level computing concepts. This tool makes it instant and visual.
Step 1: Enter a number in any base. Type your number into any of the four input fields — Decimal (base 10), Hexadecimal (base 16), Octal (base 8), or Binary (base 2). All other fields update automatically with the converted values.
Step 2: View the bit visualization. Below the input fields, a color-coded binary representation shows each bit individually. Purple bits are 1s, gray bits are 0s, grouped into bytes with separators. This makes it easy to understand the underlying binary structure.
Step 3: Check bit info. The info bar shows the total number of bits, bytes, and whether the number is positive or negative. Negative numbers use two's complement representation.
Step 4: Copy results. Use the Copy buttons to quickly copy any converted value to your clipboard. Clear all fields with the Clear button to start fresh.
Tip: This tool supports arbitrarily large numbers using BigInt, so you can convert values of any size — perfect for working with 128-bit UUIDs, 256-bit hashes, or even larger numbers.