Binary Bit Reversal Calculator
Reverse the order of bits in any binary string instantly. The rightmost bit becomes the leftmost bit, the second-to-last becomes the second bit, and so on while preserving the original bit width.
What Is Binary Bit Reversal?
Binary bit reversal changes the order of all bits in a binary string so that the first bit becomes the last, the second becomes the second-to-last, and so on.
How to Reverse Binary Bits
1. Keep the Original Width
Treat the input as an exact sequence of binary positions.
2. Start at the Right
Take the final bit of the original string first.
3. Move Backward
Continue reading each bit from right to left.
4. Build the New String
Write the collected bits from left to right to form the reversed result.
Example: Reverse 1011
Example: Reverse 000101
Binary Bit Reversal Examples
| Original Binary | Bit Length | Reversed Binary |
|---|---|---|
0 |
1 | 0 |
1 |
1 | 1 |
10 |
2 | 01 |
101 |
3 | 101 |
1011 |
4 | 1101 |
110010 |
6 | 010011 |
000101 |
6 | 101000 |
10000001 |
8 | 10000001 |
11110000 |
8 | 00001111 |
Bit Reversal vs Binary NOT
Bit reversal and bitwise NOT are completely different operations.
| Operation | Input | Output |
|---|---|---|
| Bit Reversal | 110010 |
010011 |
| Binary NOT | 110010 |
001101 |
Reversal changes positions. NOT changes each bit value.
Bit Reversal vs Rotate
A rotation moves bits around a fixed-width word while preserving their relative cyclic order. Reversal mirrors the entire sequence.
Why Does Bit Width Matter?
Bit reversal is defined over positions. Removing leading zeros before reversal can therefore change the result.
BinaryCon therefore preserves the exact input width.
What Happens If You Reverse Twice?
Reversing a binary string twice always returns the original string when the same bit width is preserved.
This property makes reversal an involution: applying the same operation twice returns the starting value.
Palindromic Binary Strings
Some binary strings are identical when read from either direction. These are binary palindromes.
For such inputs, the reversed result is exactly the same as the original.
Where Is Bit Reversal Used?
Bit Manipulation
Reversal is useful when rearranging packed binary data and bit fields.
Digital Signal Processing
Bit-reversed indexing is associated with some FFT algorithms.
Embedded Systems
Hardware interfaces may require bits to be transmitted or interpreted in a particular order.
Algorithm Practice
Bit reversal is a common programming and computer-science exercise.
Common Bit Reversal Mistakes
Removing Leading Zeros
Doing so changes the bit width and can produce a different reversed sequence.
Flipping Bit Values
Reversal changes positions; it does not turn 0 into 1 or 1 into 0.
Using Numeric Conversion
Converting to an integer first can discard leading zeros that are important to reversal.
Confusing Reversal with Rotation
Rotation cyclically shifts bits, while reversal mirrors their order.
000101
correctly reverses to 101000.
Related BinaryCon Tools
Binary Bit Reversal Calculator FAQs
What does reversing binary bits mean?
What is the reverse of binary 110010?
110010 is 010011.
What is the reverse of 1011?
1011 from right to left gives 1101.
Are leading zeros preserved?
What is the reverse of 000101?
000101 reverses to 101000.
Is bit reversal the same as bitwise NOT?
Is bit reversal the same as rotation?
What happens if I reverse the result again?
Can a binary string equal its own reverse?
101 or
1001.