Free online binary right-shifter. Just load your binary values and their bits will automatically get shifted to the right. There are no ads, popups or nonsense, just an awesome bit shifter. Load bits – get right-shifted bits. Created for developers by developers from team Browserling.
Free online binary right-shifter. Just load your binary values and their bits will automatically get shifted to the right. There are no ads, popups or nonsense, just an awesome bit shifter. Load bits – get right-shifted bits. Created for developers by developers from team Browserling.
This tool shifts binary numbers to the right side. It moves bits of a binary number by a certain number of positions to the right and adds new bits on the left. There are two types of right bit shift: Logical Shift and Arithmetic Shift. In left-shift these operations are the same but in right-shift they are different. The logical right-shift always adds zeros at the beginning of a number. The arithmetic right-shift copies the most-significant bit (MSB) and adds it to the beginning of a number. The MSB can be either a zero or a one. For both types, you can also choose a shift mode that controls the shift behavior. The unlimited mode simply adds the given number of bits at the leaves the original bits unchanged. For example, if the input number is 11010 and shift-length is 2, then the output is 0011010 in logical shift and 1111010 in arithmetic shift. The self-length mode, also known as the constant-length mode keeps the original length of the input number. It deletes as many bits from the end of the binary as it adds at the start, leaving the total length unchanged. For example, if the input number is, again 11010 and the shift-length is, again 2, then the output is 00110 in logical shift and 11110 in arithmetic shift. The truncate mode shortens the binary numbers from the right side to the specified length (k). For example, if the input number is 11010, the shift width is 2, and cut length k is 4, then the output is 0011 in logical shift and 1111 in arithmetic shift. You can also extend the length of output binary numbers by using signed and unsigned padding. The signed padding will use 1-bits and the unsigned padding will use 0-bits. Additionally, you can decorate the shifted bytes with the binary base prefix or postfix. Something super cool about right-shifting is that shifting a number one position to the right is the same as dividing it by 2. Similarly, right-shift by n is the same as dividing it by 2n. Simple and easy!
This tool shifts binary numbers to the right side. It moves bits of a binary number by a certain number of positions to the right and adds new bits on the left. There are two types of right bit shift: Logical Shift and Arithmetic Shift. In left-shift these operations are the same but in right-shift they are different. The logical right-shift always adds zeros at the beginning of a number. The arithmetic right-shift copies the most-significant bit (MSB) and adds it to the beginning of a number. The MSB can be either a zero or a one. For both types, you can also choose a shift mode that controls the shift behavior. The unlimited mode simply adds the given number of bits at the leaves the original bits unchanged. For example, if the input number is 11010 and shift-length is 2, then the output is 0011010 in logical shift and 1111010 in arithmetic shift. The self-length mode, also known as the constant-length mode keeps the original length of the input number. It deletes as many bits from the end of the binary as it adds at the start, leaving the total length unchanged. For example, if the input number is, again 11010 and the shift-length is, again 2, then the output is 00110 in logical shift and 11110 in arithmetic shift. The truncate mode shortens the binary numbers from the right side to the specified length (k). For example, if the input number is 11010, the shift width is 2, and cut length k is 4, then the output is 0011 in logical shift and 1111 in arithmetic shift. You can also extend the length of output binary numbers by using signed and unsigned padding. The signed padding will use 1-bits and the unsigned padding will use 0-bits. Additionally, you can decorate the shifted bytes with the binary base prefix or postfix. Something super cool about right-shifting is that shifting a number one position to the right is the same as dividing it by 2. Similarly, right-shift by n is the same as dividing it by 2n. Simple and easy!
In this example, we operate on six binary numbers using the logical right-shift type and unlimited shift mode. We set the shift width to 3 and as a result, all digits in each number are moved to the right by three positions and empty places at the beginning are filled with zeros. The word "unlimited" here means that you could shift the numbers by 900 positions and it would still work.
This example applies the arithmetic right shift method to several different six-digit binary numbers. As the shift length is set to 2, it moves the first two bits to the right and fills the empty positions on the left with copies of the most-significant bit (MSB). In the first, second, and fourth numbers, the MSB is equal to one, and in all other numbers, it's equal to zero. It also adds a lowercase binary number indicator "0b" to the output.
This example also performs an arithmetic shift but uses the truncation mode. In this case, the numbers are first shifted one position to the right, then the most-significant bit is duplicated at the beginning, and then numbers get truncated from the right side to 6 characters. After all this, the numbers are sign-padded to a full byte (8 positions) and the suffix "B" is added.
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!
View and edit binary values in your browser.
Convert binary numbers to a binary file.
Create a binary dump of files in your browser.
Convert binary numbers to ternary numbers.
Convert ternary numbers to binary numbers.
Convert binary values to any base (up to base 64).
Convert binary numbers to Roman numerals.
Convert Roman numerals to binary values.
Find the sum of set bits in binary numbers.
Swap pairs of adjacent bits in a binary number.
Create a list of increasing of decreasing binary numbers.
Create a binary number with alternating bits.
Create a list of all binary choices of a specific length.
Calculate bitwise sheffer stroke operator of binary values.
Encode every binary bit as a binary coded decimal.
Decode binary coded decimals to binary bits.
Perform division operation on several binary numbers.
Rotate bits of a binary number to the right.
Rotate bits of a binary number to the left.
Extract n-th bit from a binary number.
Count parity of a binary number.
Convert EBCDIC characters to binary values.
Convert binary bits to EBCDIC symbols.
Change endianness of a binary number.
Convert a binary number from little endian to big endian.
Convert a binary number from big endian to little endian.
Find the binary representation of a floating point number.
Decode a binary number to a floating point number.
Convert any image to binary colors.
Convert a binary string to a bitmap image.
Convert a bitmap image to zeros and ones.
Replace each bit with two bits in each byte.
Group bits together to create bytes.
Expand bytes into individual bits.
Split a binary number into smaller binary numbers.
Join multiple smaller binary numbers into a single binary.
Extract a part of a binary number.
Substitute ones and zeros with any other values.
Add signed or unsigned padding to binary numbers.
Drop leading or trailing bits and make a binary value shorter.
Introduce random errors in binary values.
Print the same binary numbers in the same colors.
Use two different colors for binary zeros and ones.
See the difference between two binary blobs of bytes.
Create visualizations of and, or, xor, not binary ops.
Make binary bits go in a zigzag.
Make binary bits go in a spiral.
Make binary bits go in a circle.
Create a sqaure shape from binary bits.
Create a sequence of random binary bits.
Create a sequence of random binary nybbles.
Create a sequence of random binary octets.
Create a sequence of random binary words.
Create a sequence of random binary long words.
Create a look-and-say sequence in base-2.
Apply run length encoding algorithm on a binary sequence.
Decode a previously RLE-encoded binary sequence.
Spell a binary number in words.
Print statistics of the input binary values.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling we love to make people's lives easier, so we created this collection of binary tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Our binary tools are actually powered by our programmer tools that we created over the last couple of years. Check them out!