Online calculator for XOR operation on numbers in Binary, Octal, Decimal, Hex & Ascii format.
Multiple input numbers (even greater than 2) are supported by applying bitwise operations successively on the intermediate results.
The result of XOR operation in Binary
The result of XOR operation in Octal
The result of XOR operation in Decimal
The result of XOR operation in Hex
The result of XOR operation in Ascii
The base of the input numbers either explicitly specified or automatically detected
XOR is a digital logic gate that outputs true or 1 only when the two binary bit inputs to it are unequal i.e for an input of
0 & 1 or
1 & 0.
You can remember the above result using one of these logics too:-
It is also termed as EOR or EXOR (exclusive OR gate). So, it is similar to OR gate but different in the sense that only one input must be 1 for a result of High whereas in OR either of the input can be true for it to return 1.
In a way XOR represents an inequality function, != or Not Equal To. Checkout the Truth Table below for more information on the results.
Well, simply put it you can use it to calculate XOR online. The tool supports inputs in the common numerical bases Binary, Octal, Decimal, Hex & even ASCII. That means you can also XOR hex values or XOR strings in ASCII. This is done by first converting the inputs into their Binary equivalents then performing the XOR operation on them. Finally, the results are returned in all of the above numerical bases so that you can pick whichever ones you want.
The intermediate results are shown in a tabular format which can help you diagnose any problems you encountered while doing a manual XOR operation. In this table, your inputs are shown in their original form. If the input base is not binary then each translation of the inputs to binary is also shown in a different column.
1000 ⊕ 1111 = 111
1000 ⊕ 7777 = 6777
1000 ⊕ 9999 = 9447
1000 ⊕ FFFF = EFFF
a ⊕ B = #