Hex Converter

Convert hex to decimal, binary, octal and text instantly, or use the built-in hex and binary calculators with step by step working.

Type in any box. The other number systems update instantly.

Result
—

Free Hex Converter and Hex Calculator

Hexadecimal (base 16) is the number system programmers use for memory addresses, color codes like #1D4ED8, MAC addresses and raw data. It is compact because one hex digit stands for exactly four bits. This hex converter turns hex into decimal, binary and octal (and back) as you type, converts text to hex and hex to text, and includes a hex calculator for adding, subtracting, multiplying, dividing and bitwise operations like AND, OR, XOR, NOT and shifts. Every answer is shown in hex, decimal, binary and octal at the same time, with the steps written out. Big numbers are supported too, so it works for 64-bit values and beyond.

How to Use Hex Converter

  1. Pick a tab. Use Hex converter for numbers, Hex ⇄ Text for words, or the hex and binary calculators.
  2. Type your value. Enter a number in the hex, decimal, binary or octal box. A 0x prefix is fine.
  3. See every base at once. The other boxes fill in instantly with the converted values.
  4. Follow the steps. Check the worked method below the result to learn how the conversion is done.
  5. Copy the result. Use the copy buttons next to each number system to grab the value you need.

Hex, Decimal and Binary at a Glance

  • Hex F = decimal 15 = binary 1111.
  • Hex FF = decimal 255, the largest value of one byte.
  • Hex 100 = decimal 256.
  • Hex FFFF = decimal 65,535, the largest 16-bit value.

Where Hex Is Used

Web designers see hex in CSS colors, developers read it in debuggers and error codes, network admins use it in MAC and IPv6 addresses, and computer science students practice it in number system lessons. Bitwise operations are common for flags, masks and permissions in code.

Hex Converter Features

Hex, Decimal, Binary and Octal

Type in any box and the other three number systems update instantly, in both directions.

Hex to Text and Text to Hex

Turn readable text into hex bytes or decode hex back to text, with full UTF-8 and emoji support.

Hex Calculator Built In

Add, subtract, multiply, divide and find remainders of hex numbers of any size.

Bitwise Operations

Run AND, OR, XOR, NOT and shifts, with the bits lined up so you can follow each step.

Step by Step Working

See the place value method for hex to decimal and the divide by 16 table for decimal to hex.

Signed Values and Big Numbers

Read hex as signed two's complement, and convert 64-bit numbers and beyond without losing precision.

Who Made This Tool

PT
Created by
PanTools Team
Web Developers

We build and test every tool on PanTools ourselves. Edit this profile in Dashboard > Authors and add your real name, photo, experience and social profiles.

Web developmentfile conversionSEO

Frequently Asked Questions

What Is a Hex Converter?

A hex converter changes numbers between hexadecimal (base 16) and other systems like decimal, binary and octal. This one also converts text to hex and hex to text, and includes a hex calculator.

How Do I Convert Hex to Decimal?

Multiply each digit by 16 raised to its position, counting from 0 on the right, then add the results. 7E5 = 7×256 + 14×16 + 5 = 2,021.

How Do I Convert Decimal to Hex?

Divide the number by 16 again and again, write down each remainder, and read the remainders from bottom to top. 2026 becomes 7EA.

What Do the Letters a to F Mean in Hex?

Hex has 16 digits. After 0 to 9, the letters A, B, C, D, E and F stand for 10, 11, 12, 13, 14 and 15.

How Do I Convert Hex to Text?

Open the Hex ⇄ Text tab and paste the hex bytes into the Hex box. Every two hex digits are one byte, and the bytes are decoded as UTF-8 text. 48 65 6C 6C 6F becomes Hello.

More Tools You Might Like