Shuffle Binary Bits
Randomly reorder the bits in a non-negative number
Last updated: October 14, 2026
Result actions
Copy or download the tool output, or share a link to Shuffle Binary Bits.
Get new tools in your inbox
An occasional email when we ship new free tools. No spam, unsubscribe anytime.
Related tools
Count Binary Zeros
Count zero bits in decimal, binary, or hexadecimal input
Invert Binary Bits
Flip all bits in a binary number (0→1, 1→0)
Shuffle Letters
Randomly reorder ASCII letters and digits within each word
Shuffle Lines
Randomly shuffle the order of lines in text
Convert Binary to Negabinary
Convert numbers to negabinary (base -2) representation
Count Binary Ones
Count the number of 1 bits in binary representation
Randomly reorder a binary value
Choose decimal, binary, or hexadecimal input and enter a non-negative value. Decimal and hexadecimal input are converted to binary; binary input is shuffled as entered. The tool randomly reorders the bits, then displays the original and shuffled binary strings along with the shuffled result in decimal and hexadecimal.
A shuffle changes bit positions but keeps the number of zero bits, one bits, and total bit positions. Decimal and hexadecimal values are converted through JavaScript numbers, so use values within JavaScript’s safe integer range for reliable results. Leading zeroes are removed when numeric input is converted to binary, while leading zeroes in binary input are retained.
The result is a simple random rearrangement, not encryption or a source of cryptographic randomness. Processing happens in your browser.