Universal Base Converter
๐ Theme
Universal Converter
Base 2-36
Input value
Input base
Tip: supports negative numbers. For bases > 10 use 0-9 and A-Z.
Binary (base 2)
Copy
Octal (base 8)
Copy
Decimal (base 10)
Copy
Hex (base 16)
Copy
Custom base
Copy
Group binary by
No grouping
4
8
Grouping applies to binary output blocks.
Decimal โ Binary
Decimal
Binary
Decimal โ Hex
Decimal
Hex
Binary โ Hex
Binary
Hex
Text โ Hex / Binary
Text
To Hex
To Binary (8-bit)
Clear
Hex
Hex โ Text
Copy
Binary (8-bit)
Binary โ Text
Copy
Note: uses UTF-16 code units for broad compatibility.
Twoโs Complement
Bit width
8
16
32
64
Range: โ(2^(nโ1)) โฆ 2^(nโ1)โ1
Signed decimal โ binary
Encode
Binary (n bits) โ signed decimal
Decode
Spaces/underscores in binary are allowed.
ยฉ FujiBit ยท Works offline ยท Large integers supported via BigInt