Hex to Decimal Converter

Convert between hex, decimal, binary, and octal in real time

Type a value into any one of the hex, decimal, binary, or octal fields and the other three fill in automatically. It's built for developers and students working with programming, color codes, networking, and bitwise operations, and it uses BigInt arithmetic so even integers well beyond JavaScript's safe number limit convert exactly. Everything runs in your browser, so your input never leaves your device.

도구를 불러오는 중…

🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.

How to use

  1. Type your number into whichever field you already know — hex, decimal, binary, or octal.
  2. Watch the other three bases fill in automatically as you type.
  3. Hit the copy button next to the value you need to put it on your clipboard.
  4. To start over with a different number, press 'Clear All' to empty every field.

FAQ

Can it convert negative numbers?
Yes. Put a '-' in front of the value in any field and it's read as negative, with the sign carried across the other bases using sign-magnitude notation.
Does it handle really large numbers accurately?
Yes. It uses BigInt arithmetic, so integers past JavaScript's standard safe range (2^53) convert with no rounding or precision loss.
What happens if I enter an invalid character?
If you type a character that base doesn't allow — a '2' in the binary field, for instance — an error message appears under the field and the other values are cleared.

← Back to all tools

See pricingFree chat consult