Binary Codes & Complements
Gray code, BCD, Excess-3, one's and two's complement. 14 free online tools — instant, accurate and private.
- Binary to Gray Code ConverterConvert binary numbers to Gray code (reflected binary code) with the XOR working shown.
- Gray Code to Binary ConverterConvert Gray code back to standard binary and decimal.
- Decimal to Gray Code ConverterConvert decimal numbers to Gray code and binary.
- Gray Code to Decimal ConverterConvert Gray code to its decimal value.
- Binary to BCD ConverterConvert binary to BCD (8421 binary-coded decimal).
- Decimal to BCD ConverterConvert decimal numbers to BCD (binary-coded decimal) 4 bits per digit.
- BCD to Binary ConverterConvert BCD (binary-coded decimal) to pure binary.
- BCD to Decimal ConverterDecode BCD (8421) to a decimal number with validation of every nibble.
- Binary to Excess-3 ConverterConvert binary to Excess-3 (XS-3) code.
- Excess-3 to Binary ConverterConvert Excess-3 (XS-3) code to binary and decimal.
- One's Complement CalculatorFind the one's complement of a binary number (invert every bit), with optional bit width.
- Two's Complement CalculatorCalculate two's complement of binary or a negative decimal number for any bit width (8, 16, 32, 64).
- Decimal to Signed Magnitude ConverterConvert a signed decimal to signed-magnitude binary for a chosen bit width.
- Signed Magnitude to Decimal ConverterDecode signed-magnitude binary to decimal and to two's complement.