Number Converter

Convert between Binary, Decimal, Hexadecimal, and Octal

DEC Decimal
BIN Binary
HEX Hexadecimal
OCT Octal

Interactive Bit Grid

Bit Operations

Visualize bitwise operations step by step

10101010
01010101
&
Result 0 0x00

IEEE 754 Floating Point

Analyze the binary representation of floating-point numbers

Sign
0
Exponent
10000000
Mantissa
10010010000111111011011
Sign: 0 (Positive)
Exponent: 128 - 127 = 1
Mantissa: 1.57079...
Formula: (-1)⁰ × 2¹ × 1.57079... = 3.14159

Special Values

Two's Complement

Understand signed integer representation

Original Binary (|n|):
00101010
Inverted (NOT):
11010101
Add 1:
11010110
Decimal Value: -42
Hex Value: 0xD6
Range: -128 to 127
-128 0 127

Bitwise Expression Evaluator

Evaluate complex bitwise expressions

Variables

10101010
01010101
00001111
11110000
& AND | OR ^ XOR ~ NOT << SHL >> SHR
Result
255 11111111 0xFF

Color Code Analyzer

Analyze color codes in binary and hexadecimal

R 59
00111011
G 130
10000010
B 246
11110110
HEX: #3B82F6
RGB: rgb(59, 130, 246)
HSL: hsl(217, 91%, 60%)
Binary: 00111011 10000010 11110110

ASCII / Unicode Table

Browse and search character codes

DEC: 65
HEX: 41
BIN: 01000001
OCT: 101

Comparison Mode

Compare two numbers bit by bit

Value A

DEC: 170 HEX: AA BIN: 10101010
VS

Value B

DEC: 85 HEX: 55 BIN: 01010101
A
Diff
B
XOR 255 0xFF
Hamming Distance 8 bits different
Similarity 0%