About Number Base Converter
All four bases update together, and the bitwise side runs AND, OR, XOR, NOT and shifts across two values. BigInt underneath means numbers past 2^53 stay exact instead of quietly rounding.
Convert any integer between binary, octal, decimal and hexadecimal all at once, and run AND, OR, XOR, NOT and bit-shift operations on two values. It is an essential helper for low-level programming, embedded work, networking masks and debugging bit flags.
All four bases stay in sync as you type, so one value can be read in each without converting twice. The bitwise panel earns its place when you are working with permission bits, feature flags or network masks.
Hexadecimal dominates low-level work for one structural reason: one hex digit is exactly four bits, so a byte is always two hex digits and the mapping never needs arithmetic. That clean alignment is why colours, byte dumps, memory addresses and hashes are all written in hex rather than decimal, where no digit corresponds to a fixed number of bits.
Octal survives in one place worth knowing. Unix file permissions group nine permission bits into three digits of three bits each — read, write, execute for owner, group and others — which is why chmod 644 and chmod 755 look arbitrary until you see them as binary. A related trap: in C, Java and several other languages a leading zero marks an octal literal, so writing 0644 as an integer does not give you six hundred and forty-four.
Common use cases
- Embedded and firmware developers reading register values and bit masks from a datasheet.
- Network engineers converting a subnet mask or flag field between binary and decimal.
- Developers debugging feature flags or permission bitfields where the decimal value says nothing useful.
- Students working through computer architecture exercises and checking intermediate conversions.
- Anyone decoding a hex colour, byte dump or memory address into something they can reason about.