 # Hex or calculator

## World's simplest hex tool

Free online hexadecimal bitwise OR calculator. Just load your hexadecimals and they will automatically get ORed together. There are no ads, popups or nonsense, just an awesome hex OR calculator. Load hex, OR hex. Created for developers by developers from team Browserling.
We just launched a new site – Online String Tools – a collection of string processing utilities. Check it out!
fullscreen fullscreen_exit
Hex or calculator tool What is a hex or calculator?
This tool computes the bitwise OR operation on all input hex numbers. First, it converts the hex numbers to binary bits so that all hex values were the same length. Then, it continuously calculates OR for pairs of values until only one value is left. The OR operation returns 0 if either of the bits is 0. If at least one of the bits is 1, it returns 1. Hexabulous!
Hex or calculator examples Click to use
Compute Bitwise OR of Two Hex Numbers
This example performs bitwise OR on a pair of hex numbers. These numbers are equal length so the OR is performed digit by digit. The digits are chosen in such a way that the result has all bits set.
0x13579 0xeca86
fffff
Calculate OR of Multiple Hex Values
This example performs bitwise OR operation on multiple hexadecimal numbers of different lengths. To correctly calculate OR, they are first converted to the same length. The output value has as many digits as the longest input value.
0x12345678 0x224466 0x1 0xff00ff00
ff36ff7f
Various Hex Values
In this example, we use four different hex values for the input. Each hex value has a different format. The first uses lowercase hex digits, the second uses the capital letter hex prefix "0X", the third uses the lowercase hex prefix "0x", and the fourth uses uppercase hex digits.
4a5b6c 0X987 0x6543 DEF
4a7fef
Pro tips Master online hex tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinehextools.com/or-hex-numbers?input=0x13579%0A0xeca86
All hex tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert ASCII characters to hexadecimal numbers.
Quickly convert hexadecimal values to ASCII characters.
Quickly convert UTF8 characters to hexadecimal values.
Quickly convert hexadecimal values to UTF8 characters.
Quickly randomize the order of digits in a hex number.
Quickly rotate digits in a hex number to the left or to the right.
Quickly reverse the order of digits in a hex number.
Quickly create an image from a hexadecimal number.
Quickly convert hexadecimal numbers to Roman numerals.
Quickly convert Roman numerals to hexadecimal numbers.
Quickly convert hexadecimal numbers to decimal numbers.
Quickly convert decimal numbers to hexadecimal numbers.
Quickly convert hexadecimal numbers to octal numbers.
Quickly convert octal numbers to hexadecimal numbers.
Quickly convert hexadecimal values to binary values.
Quickly convert binary values to hexadecimal values.
Quickly convert a string to hexadecimal values.
Quickly convert hexadecimal values to a string.
Quickly convert hexadecimal colors to RGB colors.
Quickly convert decimal RGB colors to hexadecimal colors.
Quickly convert hexadecimal values to Gray code.
Quickly convert Gray code to hexadecimal values.
Quickly convert hexadecimals to binary coded decimals.
Quickly convert binary coded decimals to hexadecimals.
Quickly calculate the sum of a bunch of hex numbers.
Quickly calculate the product of a bunch of hex numbers.
Quickly convert plain text to hexadecimal values.
Quickly convert hexadecimal values to plain text.
Quickly calculate bitwise AND of a bunch of hex numbers.
Quickly calculate bitwise NAND of a bunch of hex numbers.
Quickly calculate bitwise OR of a bunch of hex numbers.
Quickly calculate bitwise XOR of a bunch of hex numbers.
Coming soon These hex tools are on the way
Convert Hex to Arbitrary Base
Convert a hexadecimal to arbitrary base from 2 to 64.
Hex Editor
View and edit files in a browser-based hex editor.
Hexdump
Create a hex dump of files in your browser.
Create a File from Hex Values
Convert hexadecimal numbers to a file.
Convert a Hex Color to RGBA
Convert a color in hex #rrggbbaa format to RGBA format.
Convert an RGBA Color to Hex
Convert a color in rgba(r,g,b,a) format to #rrggbbaa hex format.
Convert a Hex Color to CMYK
Convert a color in hex #rrggbb format to CMYK format.
Convert a CMYK Color to Hex
Convert a color in CMYK format to #rrggbb format.
Convert Characters to Hex HTML Entities
Convert characters to hexadecimal #&x HTML entities.
Convert Hex HTML Entities to Characters
Convert HTML entities in #&x hex format back to characters.
NOR Hex Numbers
Calculate bitwise NOR of hexadecimal numbers.
XNOR Hex Numbers
Calculate bitwise XNOR of hexadecimal numbers.
Invert a Hex Number
Find bitwise inverse of a hexadecimal value.
Invert a Hex Color
Swap Hex Endianness
Change endianness of a hex number.
Extract a Digit from a Hex Number
Extract n-th nybble from a hexadecimal number.
Convert IPv6 to Hex