A & B (AND)
0 (0b0)
A | B (OR)
255 (0b11111111)
A ^ B (XOR)
255 (0b11111111)
~A (NOT)
4294967125 (0b11111111111111111111111101010101)
A << 1
340 (0b101010100)
A >> 1
85 (0b1010101)
Number system conversion is a fundamental skill for developers, computer science students, and anyone working with low-level programming. This tool provides instant bidirectional conversion between binary, decimal, hexadecimal, and octal — plus practical features like bit visualization, two's complement, and bitwise operations.
The converter parses input in the selected base, converts to a common BigInt representation internally, then formats output in all target bases simultaneously. Two's complement is calculated by inverting bits and adding 1. Bitwise operations work on the binary representation directly.
A systems programmer debugging a register value — sees 0xDEADBEEF in a dump and needs the binary representation to check individual flag bits.
A CS student learning number systems — types decimal 255 and instantly sees it's 11111111 in binary, FF in hex, and 377 in octal.
A network engineer calculating subnet masks — uses bitwise AND between an IP address and mask to determine the network address.
A game developer working with bit flags — uses the bitwise OR panel to combine permission flags and sees the resulting integer value.
Scope note: Floating-point binary representation (IEEE 754) is not supported — the tool works with integers only. Unicode characters beyond the Basic Multilingual Plane may show unexpected binary lengths in text conversion.
Type a number in any format (binary, decimal, hex, or octal) — all other fields update instantly
Use the Text → Binary section to convert text strings to their binary representation
Toggle the bit-width selector (8/16/32-bit) to see the bit grid visualization
Enable Two's Complement to work with signed integers (negative numbers)
Use the Bitwise Operations panel to perform AND, OR, XOR, NOT, or shifts between two values
Click Copy next to any result to copy it to your clipboard
We packaged the .claude config that runs this site — 26 specialist agents, 14 workflow skills, and 6 rule files from 31 real production incidents. From $9.
Get the Claude Code Production Pack — $29