Interactive Bit Manipulator

Note This page requires Javascript ! Thank you.

Decimal / Hex / Binary
conversion
Enter a number into any of the fields. Conversion will be done on-the-fly.



ASCII / Hex
conversion
Enter a string into any of the fields. Conversion will be done on-the-fly.


Binary Operations Enter binary numbers into both fields. Results will be updated on-the-fly.





More Twiddled Bits
  1. Absolute value of a float
  2. Absolute value of an integer
  3. Approximative inverse of a float
  4. Bit manipulation basics
  5. Bit mask of lowest bit not set
  6. Count bits set in parallel a.k.a. Population Count
  7. Detects zero bytes inside a 32 bit integer
  8. Endianess
  9. Extend bit width
  10. Float inverse square root approximation
  11. Float square root approximation
  12. Is power of two
  13. Minimum / maximum of integers
  14. Parity
  15. Position of lowest bit set
  16. Round up to the next power of two
  17. Sign comparison
  18. Sign of a 32 bit integer
  19. Swap two values
... or go to the index