Calculators · Radix conversion

Number Base Converter

Binary, octal, decimal, hex and beyond

Any base from 2 to 36, with grouped digits, two’s-complement view and a byte breakdown.

Base 2–36Two’s complementByte viewGrouping
Bases
2–36
Max width
64-bit
Precision
Exact

Number Base Converter

Runs in your browser · nothing uploaded
From
To
DEADBEEF
Every representation
Every representation
UnitSymbolValue
Binaryb21101 1110 1010 1101 1011 1110 1110 1111
Octalb833653337357
Decimalb103 735 928 559
Hexadecimalb16DEADBEEF
Base 32b323FARFNF
Base 36b361PS9WXB
Two's complement 32i32-559038737
ByteshexDE AD BE EF
Bit lengthn32
Bit width

01 — How to use Number Base Converter

1 Enter a number Prefixes and separators are tolerated: 0xDEAD_BEEF, 0b1010 and 1,234 all parse. Case does not matter above base 10.
2 Set the input base Anything from 2 to 36. Above base 10 the letters a to z continue the digit sequence, so base 16 uses a-f and base 36 uses the whole alphabet.
3 Read every representation Binary, octal, decimal, hex, base 32 and base 36 at once, with digits grouped for readability.
4 Check the signed view The two’s-complement reading at 8, 16, 32 or 64 bits, plus the byte breakdown — which is what explains why the same bits can be two different numbers.

02 — Getting good results

The same bits are two numbers 0xDEADBEEF is 3735928559 read as unsigned and −559038737 read as a signed 32-bit integer. Nothing about the bits says which is intended; only the type does. Both are shown so the distinction is visible.
Grouping is a reading aid, not part of the value Binary groups in fours because each group is one hex digit, which makes converting between the two a lookup rather than arithmetic. Hex groups in pairs because each pair is one byte.
Watch the width when converting negatives A negative number’s bit pattern depends entirely on the width. −1 is FF at 8 bits, FFFF at 16 and FFFFFFFF at 32 — the same value, three different patterns.

03 — Questions

No. Parsing and rendering are arithmetic in this browser tab, with nothing transmitted or stored.

04 — More about Number Base Converter

61 more tools
where this came from.

Same shell, same shortcuts, same promise: nothing leaves your browser.

Browse all 62