Converter

Convert hex, decimal & binary

Convert between hexadecimal, decimal and binary instantly. Type a value, choose its base, and see it in all three number systems at once — hex shown uppercase with its 0x prefix, plus copy buttons for each result. Everything runs in your browser: it's free, needs no sign-up, and nothing you type is uploaded anywhere.

Digits 0-9 and A-F. A leading 0x is ignored.

Decimal

0x

How to use it

1

Pick the input base

Choose Hex, Decimal or Binary to match the value you already have.

2

Type your value

The other two bases appear instantly as you type, with hex kept uppercase.

3

Copy what you need

Use the Copy button next to any row to grab that representation.

About the hex converter

Hexadecimal is the everyday shorthand of computing: CSS colours, memory addresses, MAC addresses, error codes and bitmasks all lean on base 16 because every hex digit maps cleanly to four binary bits. This converter keeps all three views side by side, so you can sanity-check a flag register, decode a colour channel or translate a file offset without doing the maths by hand. Values larger than 2^53 are converted exactly using big-integer arithmetic, and nothing is uploaded — the conversion happens entirely in your browser.

Reference: 0–15 in each base

DecimalHexBinary
000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
10A1010
11B1011
12C1100
13D1101
14E1110
15F1111

Questions

Is anything uploaded?

No. The conversion runs entirely in your browser — nothing you type leaves your device, and the page works offline once loaded.

How large can the numbers be?

Values up to 2^53 use standard JavaScript maths. Anything larger is converted exactly with big-integer arithmetic in modern browsers, so 64-bit addresses and long hashes stay precise. You can enter up to 130 digits.

Does it handle negative numbers or fractions?

It converts whole, non-negative values, which covers the common cases: colour codes, offsets, permissions and bitmasks. Prefixes like 0x and 0b are accepted and ignored automatically.