Hex, Decimal, Binary, Octal Converter
Convert numbers between hex, decimal, binary, and octal. Essential for programming and low-level computing.
How to use this tool
- Enter a number in any supported base (hex, decimal, binary, octal)
- Select the input base if not auto-detected
- View instant conversions to all other bases
- Copy results for use in code or documentation
- Use for color codes, memory addresses, bitwise operations, or debugging
About Hex ↔ Decimal
Number base conversion is fundamental in programming, especially for systems work, embedded development, color codes (hex), and bitwise operations. This converter handles hex (base-16), decimal (base-10), binary (base-2), and octal (base-8).
The tool converts between all four bases simultaneously, showing equivalent representations. Useful for understanding color hex codes (#FF5733), memory addresses (0x1A2B), binary flags (0b10110), or octal permissions (0755).
All conversion uses JavaScript's built-in number parsing and base conversion. No data is transmitted, perfect for working with proprietary memory addresses or sensitive numerical data.