tagHex / Decimal / Binary / Octal Converter

Convert numbers between hexadecimal, decimal, binary, and octal

Decimal

Hexadecimal

0x

Binary

0b

Octal

0o

Quick Reference

DecimalHexBinaryOctal
0000000
88100010
10A101012
15F111117
16101000020
255FF11111111377
256100100000000400
1024400100000000002000

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.