Binary bitfield splitter
Split a hexadecimal word into high-to-low fields and inspect binary, decimal and hexadecimal values.
The example value has been entered. Check it immediately or change the value.
Input is processed in the browser. Refreshing returns a sample value.
Instructions and example
Yes. Input digit count determines total width even when the numeric value is small. Fields are unsigned integers without sign extension.
Splitting ABCD into 4, 4 and 8 bits yields A=10, B=11 and CD=205, alongside fixed-width binary strings.
Unsigned values up to 64 bits; widths must total 4 times the hexadecimal digit count. No endian conversion is performed.
Frequently asked questions
Are leading hexadecimal 0s included in the width?
Yes. Input digit count determines total width even when the numeric value is small. Fields are unsigned integers without sign extension.
What if widths do not add up or byte order differs?
Unsigned values up to 64 bits; widths must total 4 times the hexadecimal digit count. No endian conversion is performed.
Calculation criteria and reference materials
- MDN — BigInt
Unsigned values up to 64 bits; widths must total 4 times the hexadecimal digit count. No endian conversion is performed.
Verification of calculation criteria: · Calculation·verification principles · Report errors