Encode
Number Base Converter
Convert between decimal, binary, octal and hexadecimal.
How it works
Number bases are fundamental to computing. While humans typically use decimal (base 10), computers work in binary (base 2), and programmers often use hexadecimal (base 16) for compact representation. Octal (base 8) appears in Unix file permissions and some legacy systems. This converter lets you work in any base and see all representations simultaneously.
Type a number in any field and the others update instantly. Enter decimal to see binary, octal, and hex. Enter hex to see the decimal equivalent. This bidirectional input makes it easy to convert in whatever direction you need. The bit representation shows how the number would appear in 8, 16, 32, and 64-bit formats, padding with zeros as needed.
This is essential for debugging, working with color codes, understanding memory addresses, setting bit flags, or learning number systems. The converter handles large numbers, so you can work with values that exceed standard calculator limits.