Our Network


Coming Soon


Coming Later

hex to binary converter

world's simplest binary tool

Free online hexadecimal to binary converter. Just load your hex numbers and they will automatically get converted to binary numbers. There are no ads, popups or nonsense, just an awesome base ten to base two converter. Load hex values, get binary values. Created for developers by developers from team Browserling.

What is a hex to binary converter?

This tool converts hex numbers in base 16 to binary numbers in base 2. It uses arbitrary precision hexadecimal number library so your input can be of arbitrary size.


Hex to binary converter examples

Click to try

Convert a Hex Number to a Binary Number

This example converts a hexadecimal number (base sixteen) to a binary number (base two).

0xabcdef
101010111100110111101111

Convert Hexspeak Numbers to Binary Numbers

This example converts funny hex values that look like english words to binary values.

0xbaaaaad 0xbada55 0xbadcafe 0xcafebabe 0xcafed00d dabbad00 0xdead deadbeef cafe
1011101010101010101010101101 101110101101101001010101 1011101011011100101011111110 11001010111111101011101010111110 11001010111111101101000000001101 11011010101110111010110100000000 1101111010101101 11011110101011011011111011101111 1100101011111110

Convert an Arbitrary Precision Hex to an Arbitrary Precision Bin

This example converts a very long 128 digit octal number to binary bits.

b26bc1bfd6ef6b7c7d2b24b3a3bc36d9ef02447d377b8630cc030cabae881cf1
1011001001101011110000011011111111010110111011110110101101111100011111010010101100100100101100111010001110111100001101101101100111101111000000100100010001111101001101110111101110000110001100001100110000000011000011001010101110101110100010000001110011110001

Pro tips Master online binary 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/binary/convert-hexadecimal-to-binary?input=0xabcdef&

All Binary 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 Binary

Quickly convert ASCII characters to binary numbers.

Convert Binary to ASCII

Quickly convert binary numbers to ASCII characters.

Convert UTF8 to Binary

Quickly convert UTF8 characters to binary bits.

Convert Binary to UTF8

Quickly convert binary bits to UTF8 characters.

Generate a Random Binary

Quickly generate random binary values.

Convert Binary to an Image

Quickly create an image from a binary number.

Convert Binary to Octal

Quickly convert binary numbers to octal numbers.

Convert Octal to Binary

Quickly convert octal numbers to binary numbers.

Convert Binary to Decimal

Quickly convert binary numbers to decimal numbers.

Convert Decimal to Binary

Quickly convert decimal numbers to binary numbers.

Convert Binary to Hexadecimal

Quickly convert binary numbers to hexadecimal numbers.

Convert Hexadecimal to Binary

Quickly convert hexadecimal numbers to binary numbers.

Convert Octal to Binary Coded Decimal

Quickly convert octal values to BCD values.

Convert Binary Coded Decimal to Octal

Quickly convert BCD values to octal values.

Convert Decimal to Binary Coded Decimal

Quickly convert decimal values to BCD values.

Convert Binary Coded Decimal to Decimal

Quickly convert BCD values to decimal values.

Convert Hexadecimal to Binary Coded Decimal

Quickly convert hex values to BCD values.

Convert Binary Coded Decimal to Hexadecimal

Quickly convert BCD values to hex values.

Convert an IP Address to Binary

Quickly convert an IP address to a binary IP address.

Convert Binary to an IP Address

Quickly convert a binary IP address to a human readable IP.

Convert an IPv6 Address to Binary

Quickly convert an IPv6 address to a binary IPv6 address.

Convert Binary to an IPv6 Address

Quickly convert a binary IPv6 address to a human readable IPv6.

Convert a String to Binary

Quickly convert a string to binary values.

Convert Binary to a String

Quickly convert binary values to a string.

Convert Binary to Gray Code

Quickly convert binary numbers to reflected binary numbers.

Convert Gray Code to Binary

Quickly convert reflected binary numbers to binary numbers.

Convert Octal to Gray Code

Quickly convert octal numbers to reflected binary numbers.

Convert Gray Code to Octal

Quickly convert reflected binary numbers to octal numbers.

Convert Decimal to Gray Code

Quickly convert decimal numbers to reflected binary numbers.

Convert Gray Code to Decimal

Quickly convert reflected binary numbers to decimal numbers.

Convert Hex to Gray Code

Quickly convert hexadecimal numbers to Gray code.

Convert Gray Code to Hex

Quickly convert Gray code to hexadecimal numbers.

Add Binary Numbers

Quickly calculate the sum of a bunch of binary values.

Subtract Binary Numbers

Quickly calculate the difference of a bunch of binary values.

Multiply Binary Numbers

Quickly calculate the product of a bunch of binary values.

Encode a Negative Binary

Quickly convert a negative number to a binary representation.

Decode a Negative Binary

Quickly convert a negative binary number to a decimal number.

Convert Binary to Negabinary

Quickly convert base 2 numbers to base -2.

AND Binary Values

Quickly calculate bitwise AND of a bunch of binary values.

NAND Binary Values

Quickly calculate bitwise NAND of a bunch of binary values.

OR Binary Values

Quickly calculate bitwise OR of a bunch of binary values.

NOR Binary Values

Quickly calculate bitwise NOR of a bunch of binary values.

XOR Binary Values

Quickly calculate bitwise XOR of a bunch of binary values.

XNOR Binary Values

Quickly calculate bitwise XNOR of a bunch of binary values.

NOT Binary Values

Quickly calculate bitwise NOT of a bunch of binary values.

Count Number of Ones

Quickly find the number of high bits in binary values.

Count Number of Zeros

Quickly find the number of low bits in binary values.

Invert Binary Values

Quickly invert bits of binary numbers.

Reverse Binary Numbers

Quickly reverse the order of bits in binary numbers.

Convert Text to Binary

Quickly convert plain text to binary values.

Convert Binary to Text

Quickly convert binary numbers to plain text.

Shuffle Bits in Binary Numbers

Quickly randomize the order of bits in binary numbers.

Rotate Bits in Binary Numbers

Quickly rotate bits in binary numbers to the left or right.

Shift a Binary Left

Quickly shift bits of a binary number to the left.

Shift a Binary Right

Quickly shift bits of a binary number to the right.


Coming Soon

These binary tools are on the way!
Binary Editor

View and edit binary values in your browser.

Create a File from Binary Values

Convert binary numbers to a binary file.

Binary Dump a File

Create a binary dump of files in your browser.

Convert Binary to Ternary

Convert binary numbers to ternary numbers.

Convert Ternary to Binary

Convert ternary numbers to binary numbers.

Convert Binary to Arbitrary Base

Convert binary values to any base (up to base 64).

Convert Binary to Roman Number

Convert binary numbers to Roman numerals.

Convert Roman Number to Binary

Convert Roman numerals to binary values.

Add Binary Bits

Find the sum of set bits in binary numbers.

Swap Binary Bits

Swap pairs of adjacent bits in a binary number.

Generate a Binary Sequence

Create a list of increasing of decreasing binary numbers.

Generate an Alternating Binary Sequence

Create a binary number with alternating bits.

Generate Binary Choices

Create a list of all binary choices of a specific length.

Binary Sheffer Stroke

Calculate bitwise sheffer stroke operator of binary values.

Convert Binary to BCD

Encode every binary bit as a binary coded decimal.

Convert BCD to Binary

Decode binary coded decimals to binary bits.

Divide Binary Numbers

Perform division operation on several binary numbers.

Rotate a Binary Right

Rotate bits of a binary number to the right.

Rotate a Binary Left

Rotate bits of a binary number to the left.

Extract Bits from Binary Numbers

Extract n-th bit from a binary number.

Calculate Parity

Count parity of a binary number.

Convert EBCDIC to Binary

Convert EBCDIC characters to binary values.

Convert Binary to EBCDIC

Convert binary bits to EBCDIC symbols.

Swap Binary Endianness

Change endianness of a binary number.

Convert Little Endian Binary to Big Endian Binary

Convert a binary number from little endian to big endian.

Convert Big Endian Binary to Little Endian Binary

Convert a binary number from big endian to little endian.

Convert a Floating Point Number to Binary

Find the binary representation of a floating point number.

Convert a Binary Number to Floating Point

Decode a binary number to a floating point number.

Binarize an Image

Convert any image to binary colors.

Convert Binary Values to a Bitmap

Convert a binary string to a bitmap image.

Convert a Bitmap to Binary Numbers

Convert a bitmap image to zeros and ones.

Duplicate Bits in Bytes

Replace each bit with two bits in each byte.

Convert Bits to Bytes

Group bits together to create bytes.

Convert Bytes to Bits

Expand bytes into individual bits.

Split Binary Values

Split a binary number into smaller binary numbers.

Join Binary Values

Join multiple smaller binary numbers into a single binary.

Slice Binary Values

Extract a part of a binary number.

Replace Binary Values

Substitute ones and zeros with any other values.

Pad Binary Values

Add signed or unsigned padding to binary numbers.

Truncate Binary Values

Drop leading or trailing bits and make a binary value shorter.

Randomly Flip Binary Bits

Introduce random errors in binary values.

Color Binary Numbers

Print the same binary numbers in the same colors.

Color Binary Bits

Use two different colors for binary zeros and ones.

Compare Binary Streams

See the difference between two binary blobs of bytes.

Visualize Binary Operations

Create visualizations of and, or, xor, not binary ops.

Create a Binary ZigZag

Make binary bits go in a zigzag.

Create a Binary Spiral

Make binary bits go in a spiral.

Create a Binary Circle

Make binary bits go in a circle.

Create a Binary Square

Create a sqaure shape from binary bits.

Generate Random Bits

Create a sequence of random binary bits.

Generate Random Nibbles

Create a sequence of random binary nybbles.

Generate Random Bytes

Create a sequence of random binary octets.

Generate Random Words

Create a sequence of random binary words.

Generate Random Double Words

Create a sequence of random binary long words.

Generate Binary Look-and-Say

Create a look-and-say sequence in base-2.

RLE-encode a Binary Number

Apply run length encoding algorithm on a binary sequence.

RLE-decode a Binary Number

Decode a previously RLE-encoded binary sequence.

Spell a Binary Number

Spell a binary number in words.

Analyze Binary Data

Print statistics of the input binary values.


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! 👋