Developer Security

Number Base Converter

Security work is full of bases: hex in memory dumps and hashes, binary in subnet masks and permission bits, octal in Unix file modes. Convert between all four and see the bit layout.

Conversion is pure JavaScript arithmetic in your browser -- no requests, no logging, no storage.

Where each base shows up

  • Hexadecimal: hashes, memory addresses, MAC addresses, packet dumps and colour codes.
  • Binary: subnet masks, TCP flags, permission bits and CVSS-style bit fields.
  • Octal: Unix file modes -- 644 means owner read/write, everyone else read only.
  • Watch for sneaky encodings in URLs and IPs: 0x7f.1 and 017700000001 both resolve to localhost.