Skip to content

Base converter

Exact binary, octal, decimal and hex conversion, IP address to integer and back, and dotted IPv4 masks.

Runs in your browser; nothing is uploaded

Choose the input base or IP mode explicitly. Complete digits are required; prefixes such as 0x are not stripped. Nothing is uploaded.

Exact base and IP conversion

Base converter reads complete binary, octal, decimal or hexadecimal digits and shows all four forms using exact integers. It can convert a strictly parsed IPv4 or IPv6 address to an integer, convert a decimal integer back to an address, and derive an IPv4 dotted mask and wildcard from a prefix.

Limits and privacy

Number input stops at 4,096 digits. The selected base is explicit, and arbitrary characters are never removed. Scoped IPv6 addresses cannot be reduced to an unscoped integer. All conversion runs locally; a short input state can be shared in a URL fragment that is not sent to the server.