Our Network


Coming Soon


Coming Later

hex and calculator

world's simplest hex tool

Free online hexadecimal bitwise AND calculator. Just load your hexadecimals and they will automatically get ANDed together. There are no ads, popups or nonsense, just an awesome hex AND calculator. Load hex, AND hex. Created for developers by developers from team Browserling.

What is a hex and calculator?

This tool performs the bitwise AND operation on all input hex numbers. The bitwise AND operation works on individual bits and before it's computed, the base of input hex numbers is internally converted to binary and zero-padded so that they all had the same length. Then, bits in every position are compared. If they are all 1, then the output bit is 1, otherwise, the output bit is 0. Hexabulous!


Hex and calculator examples

Click to try

Compute Bitwise AND of Two Hex Values

This example calculates bitwise AND of two hex numbers. The second hex value is a mask that isolates 2nd, 4th, 6th, and 8th hex digits in the first hex value.

0x87654321 0xf0f0f0f0
80604020

Calculate AND of Multiple Hex Numbers

This example performs bitwise AND operation on several hexadecimal values. As they are all the same length, AND can be computed digit by digit. Going from right to left (<- this way), the first digit is AND(e,a,6,6)=2, the second digit is AND(e,f,6,5)=4, the third digit is AND(f,a,f,4)=0, the fourth digit is AND(f,f,e,3)=2, and the last two digits are both zero because AND(0,a,e,2)=0, and AND(c,f,b,1)=0. The last two digits aren't printed as they are the leading digits and the result value 0x002042 is the same as 0x2024.

0xc0ffee 0xfafafa 0xbeef66 0x123456
2042

Hex Formats

In this example, we demonstrate four different hex formats that you can use for entering hex values in the input. You can use capital hex letters and capital hex prefixes, small hex prefixes, or no hex prefixes.

0xAABBCC 0Xa1234 0XF0EEF7 654bca
200

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://onlinetools.com/hex/and-hex-numbers?input=0x87654321%0A0xf0f0f0f0&

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!
Convert ASCII to Hex

Quickly convert ASCII characters to hexadecimal numbers.

Convert Hex to ASCII

Quickly convert hexadecimal values to ASCII characters.

Convert UTF8 to Hex

Quickly convert UTF8 characters to hexadecimal values.

Convert Hex to UTF8

Quickly convert hexadecimal values to UTF8 characters.

Generate a Random Hex

Quickly generate random hexadecimal values.

Shuffle Hex Nibbles

Quickly randomize the order of digits in a hex number.

Rotate Hex Nibbles

Quickly rotate digits in a hex number to the left or to the right.

Reverse Hex Nibbles

Quickly reverse the order of digits in a hex number.

Convert Hex to an Image

Quickly create an image from a hexadecimal number.

Convert Hex to a Roman Numeral

Quickly convert hexadecimal numbers to Roman numerals.

Convert a Roman Numeral to Hex

Quickly convert Roman numerals to hexadecimal numbers.

Convert Hex to Decimal

Quickly convert hexadecimal numbers to decimal numbers.

Convert Decimal to Hex

Quickly convert decimal numbers to hexadecimal numbers.

Convert Hex to Octal

Quickly convert hexadecimal numbers to octal numbers.

Convert Octal to Hex

Quickly convert octal numbers to hexadecimal numbers.

Convert Hex to Binary

Quickly convert hexadecimal values to binary values.

Convert Binary to Hex

Quickly convert binary values to hexadecimal values.

Convert a String to Hex

Quickly convert a string to hexadecimal values.

Convert Hex to a String

Quickly convert hexadecimal values to a string.

Convert an IP Address to Hex

Quickly convert an IP address to a hex IP address.

Convert Hex to an IP Address

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

Convert a Hex Color to RGB

Quickly convert hexadecimal colors to RGB colors.

Convert an RGB Color to Hex

Quickly convert decimal RGB colors to hexadecimal colors.

Convert Hex to Gray Code

Quickly convert hexadecimal values to Gray code.

Convert Gray Code to Hex

Quickly convert Gray code to hexadecimal values.

Convert Hex to BCD

Quickly convert hexadecimals to binary coded decimals.

Convert BCD to Hex

Quickly convert binary coded decimals to hexadecimals.

Add Hex Numbers

Quickly calculate the sum of a bunch of hex numbers.

Multiply Hex Numbers

Quickly calculate the product of a bunch of hex numbers.

Convert Text to Hex

Quickly convert plain text to hexadecimal values.

Convert Hex to Text

Quickly convert hexadecimal values to plain text.

AND Hex Numbers

Quickly calculate bitwise AND of a bunch of hex numbers.

NAND Hex Numbers

Quickly calculate bitwise NAND of a bunch of hex numbers.

OR Hex Numbers

Quickly calculate bitwise OR of a bunch of hex numbers.

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

Generate Custom Hex

Create a hex with specific properties (length, pattern, etc).

Hex Editor

View and edit files in a browser-based hex editor.

Show a Hexdump

Create a hex dump of files in your browser.

Create a File from Hex Values

Convert hexadecimal numbers to a file.

Convert Hex to Number

Convert a hexadecimal value to a human number.

Convert Number to Hex

Convert a human number to a hexadecimal value.

Convert Hex to Integer

Convert a hexadecimal value to a regular integer.

Convert Integer to Hex

Convert a regular integer to a hexadecimal value.

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 a Hex Color to HSL

Convert a color in hex #rrggbb format to HSL format.

Convert a HSL Color to Hex

Convert a color in HSL format to #rrggbb format.

Convert a Hex Color to HSV

Convert a color in hex #rrggbb format to HSV format.

Convert a HSV Color to Hex

Convert a color in HSV 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.

Duplicate Hex Digits

Create multiple copies of every digit in a hex number.

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.

Shift Hex Values

Shift hex numbers to the left or to the right.

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 HalfHex

Convert base-16 numbers to base-8 numbers.

Convert HalfHex to Hex

Convert base-8 numbers to base-16 numbers.

Convert Hex to DoubleHex

Convert base-16 numbers to base-32 numbers.

Convert DoubleHex to Hex

Convert base-32 numbers to base-16 numbers.

Convert Hex to FakeHex

Convert a hex number to a fake hex number (using homoglyphs).

Convert FakeHex to Hex

Convert a number that looks like hex to actual hex.

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.

Create a File From Hex Bytes

Convert bytes in hex form to a file with any extension.

Sort Hex Values

Sort hexadecimal numbers.

Sort Hex Digits

Sort individual hex nybbles.

Replace Hex Digits

Substitute certain hexadecimal digits with other digits.

Remove Hex Digits

Delete certain digits from hexadecimal numbers.

Increment Hex Values

Increase the value of a hexadecimal.

Decrement Hex Values

Decrease the value of a hexadecimal.

Increment Hex Digits

Increase the value of individual hex nybbles.

Decrement Hex Digits

Decrease the value of individual hex nybbles.

Color Hex Digits

Add coloring to individual hex nybbles.

Color Hex Numbers

Add coloring to multiple hex numbers.

Create a Hex ZigZag

Make a hex number go in a zigzag.

Create a Hex Spiral

Make a hex number go in a spiral.

Create a Hexaflexagon

Create a template for a six-faced flexagon from two images.

Generate Polyhex Shapes

Join together a bunch of hexagons and create hex tilings.

Generate a Hex Grid

Create a hexagonal tilemap.

Generate a Hex Multiplication Table

Create a multiplication table for hex numbers.

Generate a Hex Addition Table

Create an addition table for hex numbers.

Generate a Hex Division Table

Create a division table for hex numbers.

Spell Hex Numbers

Write hex numbers as English text.

Analyze Hex Numbers

Print nybble statistics of the given hex numbers.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋