Hex / Decimal / Binary / Octal Converter
Convert numbers between hexadecimal, decimal, binary, and octal
Decimal
Hexadecimal
Binary
Octal
Quick Reference
This tool converts numbers between hexadecimal, decimal, and binary representations - useful for working with color codes, memory addresses, bitwise operations, or any programming context where you need to quickly translate a value between number bases.
Frequently asked questions
Decimal is the everyday base-10 number system. Hexadecimal (base-16) is common in programming for colors, memory addresses, and compact byte representation. Binary (base-2) represents the raw on/off bits computers actually operate on.
Support for negative numbers depends on how the values are represented (e.g. two's complement for binary) - check the tool's handling if you're working with signed values specifically.
Reasonably large numbers convert correctly; extremely large values beyond standard integer precision may need a specialized big-number tool instead.