Hexadecimal Converter
Translate base-16 hexadecimal numbers and byte codes into decimal, binary, octal, and plain English text with instant real-time calculations.
Calculation Breakdown
What is the Hexadecimal System?
The hexadecimal number system (base 16) is the universal shorthand notation for computer memory addresses, byte values, machine code, and web colors. It uses sixteen symbols: the digits 0 through 9 and the letters A through F (where A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15).
Because $16 = 2^4$, a single hexadecimal digit represents exactly 4 binary bits (a nibble), and two hexadecimal digits represent exactly one 8-bit byte (from 00 to FF, or 0 to 255 in decimal). This makes hex vastly more human-readable than lengthy strings of binary digits.
Our hexadecimal converter performs bidirectional translation across all primary bases and ASCII/UTF-8 character strings.
How to Use This Tool
- Enter your hexadecimal string (with or without 0x prefix) or decimal number into the input panel.
- Select your destination format (Decimal, Binary, Octal, ASCII Text, or Roman Numerals).
- The converter displays the result along with its powers-of-16 place-value breakdown.
- Click Copy to save the output or swap directions to encode text into hexadecimal.
How Hexadecimal Conversion Works
Hex to decimal conversion multiplies each digit by its power of 16 ($16^0 = 1$, $16^1 = 16$, $16^2 = 256$, $16^3 = 4096$) and sums the terms.
Hex to binary replaces each hex character with its direct 4-bit nibble (e.g., F = 1111, A = 1010). Binary to hex groups bits into sets of 4 from right to left.
Hexadecimal Conversion Examples
Hex to Decimal
Converting hex 2A to decimal (2 × 16 + 10 × 1).
Binary to Hexadecimal
Grouping 8 bits into two 4-bit hex characters.
Hex to Text (English)
Decoding hex byte values into plain English characters.
Text to Hexadecimal
Encoding English text into hexadecimal byte pairs.
Hexadecimal to Binary & Decimal Chart (0–F)
| Hex Digit | Decimal | Binary (4-bit) | Octal |
|---|---|---|---|
| 0–9 | 0–9 | 0000–1001 | 0–11 |
| A | 10 | 1010 | 12 |
| B | 11 | 1011 | 13 |
| C | 12 | 1100 | 14 |
| D | 13 | 1101 | 15 |
| E | 14 | 1110 | 16 |
| F | 15 | 1111 | 17 |
Prefixes & Delimiters
- Supports input with or without standard prefixes ("0x", "#", or bare hex).
- Case-insensitive: uppercase (A–F) and lowercase (a–f) are parsed identically.
Frequently Asked Questions
What is hexadecimal?
What is a hexadecimal number?
How does hexadecimal work?
How to read hexadecimal?
How to count in hexadecimal?
How do I say hello in hexadecimal?
How to convert decimal to hexadecimal?
How to convert hexadecimal to decimal?
How to convert binary to hexadecimal?
How do you say "I love you" in hexadecimal?
Related Tools
Convert ASCII/UTF-8 text and numbers to 8-bit binary and decode binary to text.
Convert decimal numbers and ASCII byte codes to and from text, binary, octal, and hex.
Encode text, Unicode strings, and binary data into RFC 4648 Base64 and decode Base64 back to text.