IVX
Roman Numeral ConverterEN
NUMERIC & NUMBER SYSTEMS TOOL • UNIFIED WORKSPACE

Hexadecimal Converter

Translate base-16 hexadecimal numbers and byte codes into decimal, binary, octal, and plain English text with instant real-time calculations.

Presets:
Ready
MMXXVI
Copied!

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

  1. Enter your hexadecimal string (with or without 0x prefix) or decimal number into the input panel.
  2. Select your destination format (Decimal, Binary, Octal, ASCII Text, or Roman Numerals).
  3. The converter displays the result along with its powers-of-16 place-value breakdown.
  4. 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).

In:2A
Out:42

Binary to Hexadecimal

Grouping 8 bits into two 4-bit hex characters.

In:11111111
Out:FF

Hex to Text (English)

Decoding hex byte values into plain English characters.

In:48 65 6C 6C 6F
Out:Hello

Text to Hexadecimal

Encoding English text into hexadecimal byte pairs.

In:Code
Out:43 6F 64 65

Hexadecimal to Binary & Decimal Chart (0–F)

Hex DigitDecimalBinary (4-bit)Octal
0–90–90000–10010–11
A10101012
B11101113
C12110014
D13110115
E14111016
F15111117

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?
Hexadecimal is a base-16 number system that uses sixteen distinct symbols: 0–9 to represent values zero to nine, and A–F (or a–f) to represent values ten to fifteen.
What is a hexadecimal number?
A hexadecimal number is any number written in base 16, commonly denoted with a "0x" prefix in programming (e.g., 0x1A3) or a "#" in CSS web colors (e.g., #FFFFFF).
How does hexadecimal work?
Hexadecimal works by powers of 16 ($16^0 = 1, 16^1 = 16, 16^2 = 256, 16^3 = 4096$). Each hex digit neatly packs 4 binary bits (a nibble), allowing two hex digits to represent an entire 8-bit byte.
How to read hexadecimal?
Read hex numbers from left to right, multiplying each position by its power of 16. Remember that A=10, B=11, C=12, D=13, E=14, and F=15.
How to count in hexadecimal?
Count sequentially: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, then roll over to 10 (decimal 16), 11 (17)... up to 1F, then 20 (decimal 32).
How do I say hello in hexadecimal?
In ASCII hexadecimal bytes, "Hello" is written as: 48 65 6C 6C 6F (or 48656c6c6f).
How to convert decimal to hexadecimal?
Divide the decimal number by 16 repeatedly, recording each remainder. Convert remainders 10–15 to letters A–F, and read the remainders from bottom to top.
How to convert hexadecimal to decimal?
Multiply each hex digit by its position's power of 16 ($16^0, 16^1, 16^2...$) from right to left, and sum the results.
How to convert binary to hexadecimal?
Divide the binary number into groups of 4 bits from right to left. Translate each 4-bit nibble directly into its single hex digit (e.g., 1010 = A, 1111 = F).
How do you say "I love you" in hexadecimal?
In ASCII hexadecimal bytes, "I love you" is: 49 20 6C 6F 76 65 20 79 6F 75.

Related Tools