Free online binary left-shifter. Just load your binary values and their bits will automatically get shifted to the left. There are no ads, popups or nonsense, just an awesome bit shifter. Load bits – get left-shifted bits. Created for developers by developers from team Browserling.
Free online binary left-shifter. Just load your binary values and their bits will automatically get shifted to the left. There are no ads, popups or nonsense, just an awesome bit shifter. Load bits – get left-shifted bits. Created for developers by developers from team Browserling.
This tool shifts binary numbers to the left side. It moves each digit (bit) in the number's binary representation by one or more positions to the left and adds zeros in the empty positions on the right. This mathematical operation is also known as logical left-shift, arithmetic left-shift, or bitwise left-shift. For the left-shift, all these operations are equivalent (but they are not equivalent in right-shift operation). We have implemented three main types of this operation: unlimited left-shift, self-length left-shift, and truncated left-shift (also known as constant-length left-shift). The unlimited left-shift adds n (shift length) zeros at the end of the binary number. For example, applying the unlimited shift to the binary number 10110 with a shifting width of 2, it becomes 1011000. The self-length shift preserves the bit-length of the number. It moves all bits n positions to the left, fills empty bits on the right with zeros, and truncates the number to its original length. In this case, the number 10110 becomes 11000 (with shift-width = 2). Truncated left-shift adds n zeros at the end of the binary number and truncates the number from the left side to k positions (k is truncation length). Given the same number 10110, shift length n = 2, and truncation length k = 4, the number shifts to 1000. You can also add binary prefix or postfix to the output values and perform signed and unsigned padding of the output values. Signed padding adds ones in front of the numbers and unsigned padding adds zeros. Also, a fun mathematical fact is that the left-shift operation by n positions is the same as multiplying the number by 2n. Simple and easy!
This tool shifts binary numbers to the left side. It moves each digit (bit) in the number's binary representation by one or more positions to the left and adds zeros in the empty positions on the right. This mathematical operation is also known as logical left-shift, arithmetic left-shift, or bitwise left-shift. For the left-shift, all these operations are equivalent (but they are not equivalent in right-shift operation). We have implemented three main types of this operation: unlimited left-shift, self-length left-shift, and truncated left-shift (also known as constant-length left-shift). The unlimited left-shift adds n (shift length) zeros at the end of the binary number. For example, applying the unlimited shift to the binary number 10110 with a shifting width of 2, it becomes 1011000. The self-length shift preserves the bit-length of the number. It moves all bits n positions to the left, fills empty bits on the right with zeros, and truncates the number to its original length. In this case, the number 10110 becomes 11000 (with shift-width = 2). Truncated left-shift adds n zeros at the end of the binary number and truncates the number from the left side to k positions (k is truncation length). Given the same number 10110, shift length n = 2, and truncation length k = 4, the number shifts to 1000. You can also add binary prefix or postfix to the output values and perform signed and unsigned padding of the output values. Signed padding adds ones in front of the numbers and unsigned padding adds zeros. Also, a fun mathematical fact is that the left-shift operation by n positions is the same as multiplying the number by 2n. Simple and easy!
This example applies the unlimited left shift algorithm to ten binary numbers listed in a column. This shift type adds as many zeros at the end of the number as you need and has no particular length limit. That's why we call it "unlimited". In this example, it appends two extra zeros and outputs the new binary numbers. It also enables unsigned padding to six positions so that all output numbers have the same length.
In this example, we shift five 10-digit binary numbers to the left using the self-length shift method and set the shift-width equal to 3. This method removes the first 3 bits at the beginning of input numbers and adds 3 bits at the end of the input number. This operation leaves the numbers' bit-length unchanged and that's why we call it the "self-length" method (and sometimes the "constant-length" method).
In this example, we use the "Truncated Left Shift" method on nine binary numbers. We set the shift length to 2 and truncation length to 6. In this case, the utility first expands the number by two zero bits and then truncates the numbers from the left side to 6 digits. It also adds a lowercase binary postfix "b" and disables padding by setting padding to 0.
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!