Hex to Decimal Converter

Translate hexadecimal into decimal, binary and octal instantly.

Processed locally — nothing is uploaded

About Number Base Converter

All four bases update together, and the bitwise side runs AND, OR, XOR, NOT and shifts across two values. BigInt underneath means numbers past 2^53 stay exact instead of quietly rounding.

Convert a hexadecimal value to decimal, binary and octal simultaneously, and run AND/OR/XOR and bit-shift operations. BigInt keeps large numbers exact, and everything runs locally.

Convert any integer between binary, octal, decimal and hexadecimal all at once, and run AND, OR, XOR, NOT and bit-shift operations on two values. It is an essential helper for low-level programming, embedded work, networking masks and debugging bit flags.

All four bases stay in sync as you type, so one value can be read in each without converting twice. The bitwise panel earns its place when you are working with permission bits, feature flags or network masks.

Learn how this works

Frequently asked questions

Why is hexadecimal used so widely in computing?

Because one hex digit maps exactly to four bits, so a byte is always two hex digits. That makes hex a compact, lossless shorthand for binary — far easier to read than eight ones and zeros, and much better aligned than decimal.

What do the letters A to F mean?

They are the digits for ten through fifteen, since base-16 needs sixteen symbols and decimal only supplies ten. So A is 10, F is 15, and FF is 255.

What do the 0x and # prefixes mean?

Both just signal that what follows is hexadecimal. 0x is the convention in most programming languages, while # is used for colours in CSS and design tools. Neither changes the value.

Common Use Cases

  • Converting a hex colour channel to its 0-255 decimal value
  • Reading a memory address or error code from a crash dump
  • Decoding a hex byte value while inspecting a binary file format

More Number Base Converter tools

Related tools