🔢
⚙️

Inspect Bit Patterns and Flags

Convert numbers to binary to inspect individual bits, bitmasks, and flag combinations.

ලොගිනය අවශ්‍ය නැත
Input base:

Quick values

Bit Operations tips

⚙️

Bitmasks use individual bits as boolean flags. Convert a decimal mask (e.g. 12 = 0b1100) to binary to see which bits are set.

💡

Unix permissions: 7 = 0b111 (rwx), 5 = 0b101 (r-x), 4 = 0b100 (r--). Convert each permission digit to see what it means.

🔢

Power of 2 check: a number is a power of 2 if its binary representation has exactly one 1 bit. The grouped binary display makes this obvious.

📊

Signed vs unsigned: 255 in 8-bit unsigned = 0xFF. As a signed byte, values 128–255 are negative. The bit pattern (11111111) is the same.

එය ක්‍රියා කරන්නේ කෙසේද

1
ඇතුළු කරන්න
Enter your data into the tool above. Everything stays local to your browser.
2
සකස් කරන්න
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
බාගත කරන්න
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

අපගේ දේ ඇයි භාවිතා කරන්නේ?

සම්පූර්ණයෙන්ම නොමිලේ — කිසිදා සැඟවුණු පිරිවැයක් නැත
ගිණුමක්, විද්‍යුත් තැපෑලක්, හෝ ලොගිනයක් අවශ්‍ය නැත
ගොනු කිසිදා ඔබේ උපාංගය හරහා නොයන්නේය
කිසිදු ගොනු ප්‍රමාණ සීමාවක් නැත
ඕනෑම ප්‍රතිදානයක ජල සලකුණු නැත

Also check out…

නිතර අසන ප්‍රශ්න