Hex Converter
Free hex converter for UTF-8 text, decimal integers, binary bitstreams, and C-style hexadecimal byte arrays with syntax-highlighted output and one-click export.
Hex Converter Digits & 4-Bit Nibble Table
Hex to Decimal step-by-step →| Hex | Decimal | 4-Bit Binary | Octal |
|---|---|---|---|
| 0x0 | 0 | 0000 | 0o00 |
| 0x1 | 1 | 0001 | 0o01 |
| 0x2 | 2 | 0010 | 0o02 |
| 0x3 | 3 | 0011 | 0o03 |
| 0x4 | 4 | 0100 | 0o04 |
| 0x5 | 5 | 0101 | 0o05 |
| 0x6 | 6 | 0110 | 0o06 |
| 0x7 | 7 | 0111 | 0o07 |
| 0x8 | 8 | 1000 | 0o10 |
| 0x9 | 9 | 1001 | 0o11 |
| 0xA | 10 | 1010 | 0o12 |
| 0xB | 11 | 1011 | 0o13 |
| 0xC | 12 | 1100 | 0o14 |
| 0xD | 13 | 1101 | 0o15 |
| 0xE | 14 | 1110 | 0o16 |
| 0xF | 15 | 1111 | 0o17 |
Every hexadecimal digit encodes one 4-bit nibble; two digits (0x00–0xFF) represent one 8-bit byte. Click any row to load its value into the hex converter above.
Signal & Number Converters
7 toolsHex Converter Base-16 Byte & Nibble Architecture
A precision hex converter bridges human-readable text or decimal numbers and byte-level machine representations. Because 16 = 2⁴, every single hexadecimal digit corresponds to one exact 4-bit binary nibble, and every pair of hex digits spans the full unsigned byte range from 0x00 (0) to 0xFF (255).
Whether you are formatting C firmware byte arrays, debugging network wire protocols, or inspecting checksums, this hex converter runs locally in memory with arbitrary-precision BigInt math. For fixed-width signed 32-bit and 64-bit integer expansion, jump to our Hex to Decimal calculator, or check individual byte definitions in the ASCII Table.
“The Base 16 encoding is identical to the hexadecimal encoding. Each 4-bit group is used as an index into an array of 16 printable characters (0–9, A–F).”
— Standard reference: IETF RFC 4648 §8 — Base 16 Encoding
Hex Converter Technical Notes
- Why do developers use hexadecimal instead of raw binary?
- Each hexadecimal digit (0–9, A–F) maps cleanly to exactly 4 binary bits (one nibble), so an 8-bit byte always fits into two hex digits (0x00 through 0xFF). That makes memory addresses, network payloads, and color channels 4x shorter and less error-prone to inspect.
- What input formats does this hex converter accept in Hex → Text mode?
- You can paste space-separated bytes (48 45 4C 4C 4F), 0x-prefixed hex (0x48 0x49), escape sequences (\x48\x49), C-style arrays ({ 0x4F, 0x4B }), or contiguous even-length hex streams.
- How does this hex converter handle non-ASCII characters and emoji?
- In Text → Hex mode, strings are encoded strictly as UTF-8 byte sequences. ASCII characters emit 1 byte (2 hex digits), while Greek, CJK, and supplementary symbols emit 2 to 4 bytes so decoding round-trips without data loss.
- Where can I inspect signed 32-bit or 64-bit hex integers step by step?
- Use our dedicated Hex to Decimal converter for Two's Complement int32/int64 interpretation and full power-of-16 positional weight expansion.