Hex Converter
Hex, decimal, binary, RGB
Hex Converter: Between Hexadecimal, Decimal, Binary and ASCII
Hexadecimal (base 16) is the standard representation for bytes in computing: memory, colors, hashes, binary files. Our converter transforms between hex, decimal, binary, octal, and ASCII text in a single click.
Support for individual values or byte sequences. Format hex output with spaces (AB CD EF), colons (AB:CD:EF), or continuous (ABCDEF) according to your use case: MAC addresses use colons, hex dumps use spaces, colors use no separator.
Ideal for developers working with binary data, memory debugging, protocol analysis, or firmware reverse engineering. Everything runs in the browser without dependencies.
How does it work?
- 1Select conversion type
Hex ↔ decimal, hex ↔ binary, hex ↔ ASCII, decimal ↔ binary, etc.
- 2Enter the value
The tool accepts hex with or without 0x prefix, decimal, binary with or without 0b prefix.
- 3Copy the result
You get the value in the target base with configurable format options.
Frequently Asked Questions
Each hex digit represents 4 bits (a nibble). 0xFF has 2 digits = 8 bits = 1 byte. F is the maximum digit (15 in decimal). FF = 15×16 + 15 = 255, the maximum for an unsigned byte.
Standard hex represents positive integers. For negatives, two's complement is used: invert all bits and add 1. Our converter offers 'two's complement' option for 8, 16, 32, 64 bits.
Byte order in memory. Big-endian stores the most significant byte first (0x1234 = [12, 34]). Little-endian is reversed ([34, 12]). Intel/AMD use little-endian; network protocols (TCP/IP) use big-endian.