How It Works Under the Hood
Enter the register value (0x.. hex, 0b.. binary or decimal), pick the width, and enter a mask. The tool lists the bit positions and shows the result of each bitwise operation.
Step-by-Step Instructions
Enter the value and the width.
Enter a mask and shift.
Read the bit table and results.
Key Features & Performance
- 8, 16 and 32-bit widths
- Bit index table
- AND, OR, XOR, NOT, shifts
- Field extraction with a mask
Methodology, Formulas & Technical Standards
Unsigned bitwise operations on a register of fixed width.
Worked Examples & Edge Cases
0xA5 and mask 0x0F
0x05
Low nibble = 5
Limitations, Scope & Accuracy Notes
- • Unsigned values only.
- • Bit meanings come from your datasheet; the tool only shows bits.
Local Browser Processing & Privacy
Traditional web converters upload your documents, snippets, or media files to remote servers. Hex/Binary Bitmask Visualizer for Registers runs inside your browser tab:
Your input text and files are processed locally without uploading payloads to a processing server.
Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).
Working outputs stay in your browser tab and are released when you reset the tool or close the tab.
Frequently Asked Questions
How do I read a field from a register?
AND the value with the field mask, then shift right by the lowest set bit of the mask. The tool does this in the last result.
Is anything uploaded?
No. Everything runs in your browser and your data stays on your device.
Explore Related Micro-Tools
Modbus RTU CRC-16 Calculator
Calculate the CRC-16 of a Modbus frame or any byte string
BigInt Base Converter & IEEE-754 Float Inspector
Convert arbitrary-precision Binary/Octal/Decimal/Hex integers, Two's Complement & Float32/Float64 bit patterns
ESP32 / Arduino Pinout Reference
Which pins do what on ESP32, Uno, Nano and NodeMCU