# 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.

Announcement
Check out our new project!

We just launched a new site – Online GIF Tools – a collection of utilities for quickly editing GIFs. Check it out!

A link to this tool, including input, options and all chained tools.

Can't convert.

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

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 generate random hexadecimal values.

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 an IP address to a hex IP address.

Quickly convert a hex IP address to a human-readable IP address.

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 Unary

Quickly convert hex numbers to unary numbers.

Convert Unary to Hex

Quickly convert unary numbers to hex numbers.

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.

NOT Hex Numbers

Calculate bitwise NOT of hexadecimal numbers.

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

Find the inverse hexadecimal 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

Convert an IPv6 address to hexadecimal form.

Convert Hex to IPv6

Convert an IPv6 address in hexadecimal form back to human readable form.

Convert Little Endian Hex to Big Endian Hex

Convert a hex number in little endian byte order to big endian.

Convert Big Endian Hex to Little Endian Hex

Convert a hex number in big endian byte order to little endian.

Convert Hexfloat to Float

Create a floating point number from a hexfloat number.

Convert Float to Hexfloat

Create a hexfloat number from a floating point number.

Convert a Floating Point Number to Hex

Find the hex representation of a floating point number.

Convert Hex to a Floating Point Number

Find the floating point number from its hex representation.

Join Hex Numbers

Merge several hex values together and form a larger hex.

Split Hex Numbers

Split a longer hex value into several smaller hexes.

Pad Hex Values

Add padding to hex numbers.

Truncate Hex Values

Truncate hex numbers to a shorter length.

Round Hex Numbers

Round hex numbers up or down.

Convert Hex to DoubleHex

Convert base-16 numbers to base-32 numbers.

Convert DoubleHex to Hex

Convert base-32 numbers to base-16 numbers.

Print a Hex Sequence

Generate increasing or decreasing hex numbers.

Convert Text to Hexspeak

Rewrite text to hex leetspeak.

Convert Hexspeak to Text

Decipher leetspeak back to regular text.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!