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.
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
- Pick a tab. Use Hex converter for numbers, Hex ⇄ Text for words, or the hex and binary calculators.
- Type your value. Enter a number in the hex, decimal, binary or octal box. A 0x prefix is fine.
- See every base at once. The other boxes fill in instantly with the converted values.
- Follow the steps. Check the worked method below the result to learn how the conversion is done.
- 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
Frequently Asked Questions
What Is a Hex Converter?
How Do I Convert Hex to Decimal?
How Do I Convert Decimal to Hex?
What Do the Letters a to F Mean in Hex?
How Do I Convert Hex to Text?
More Tools You Might Like
HEIC to PNG
Convert iPhone HEIC photos to PNG images in your browser.
HEIC to PDF
Turn one or many HEIC photos into a single PDF file.
PopularBinary to Text
Decode binary code to readable text, or turn text into binary.
PopularText to Speech
Turn text into natural speech with many voices and download it.
PopularFancy Text Generator
Turn plain text into cool fonts to copy and paste anywhere.
PopularRatio Calculator
Solve A:B = C:D, simplify ratios and split totals.
PopularPDF Splitter
Split a PDF by page range, every N pages or extract pages.
Glitch Text Generator
Make creepy Zalgo glitch text and copy it in one click.
Proportion Calculator
Solve for x in a proportion with cross multiplication steps.
Punctuation Checker
Find and fix comma, period and apostrophe mistakes.