BitTool - Bit Field Calulator Utility

This new bittool is an online version of my old freeware windows applicaiton.

Directions

Enter your value in the "Hex" or "Decimal" fields. The utility will display be data in the table below, breaking it into individual bits, bytes, and nibbles. By clicking and dragging on the bit position numbers, you can alter the size of the fields it displays. This is very hand for cases where for example a datasheet uses non-nibble-aligned data fields You can also click on the Hex or Decimal fields below. When you do, they become an edit field where you can modify the contents of that particular field. Drop me a line if you like it (or don't!)

Bittool is entierly client-side Javascript/HTML5 - so feel free to download/modify. If you make any nice changes - please send them to me!

0 0 0 0 0 0 0 0
7 6 5 4 3 2 1 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ←Bit Number
← Click and drag across these cells to create fields
← Click to change values
0xffffffff ←Field bitmasks
0 ←Field Lables (Click to Edit)

0x0
0

←Field Values (Click to Edit)

0
0x00

←Value
Values can be entered in decimal, or preceded with 0x for hex, o for octal, or ' for binary