IP Address Converter
NetworkConvert IPv4 addresses between decimal, hex, binary, octal, and integer formats
Paste a dotted-decimal IPv4 address and see it converted to hex, binary, octal, and its raw 32-bit integer form all at once, or go the other way and paste an integer, say one pulled straight from a database column, to get the dotted-decimal address back. The binary breakdown is a quick way to double-check subnet mask or CIDR math by hand, and a trailing CIDR suffix like `/24` is preserved through the conversion if you include one. This covers IPv4 only, no IPv6 support, and it only validates that an address is well-formed (each octet in range 0-255); it doesn't check whether the address is actually a publicly routable or reserved range, which is a separate concern from format validity.
How to use IP Address Converter
- 1.Paste a dotted-decimal IPv4 address like `192.168.1.1` to instantly see its hex, binary, octal, and 32-bit integer equivalents.
- 2.Paste a raw integer (e.g. from a database column storing IPs as numbers) to convert it back into dotted-decimal notation.
- 3.Use the binary breakdown to double-check subnet mask math or manually verify a CIDR range boundary.
Frequently asked questions
Use via API, SDK, or MCP
Installnpm install @utilix-tech/sdkUsageimport { units } from '@utilix-tech/sdk'
const decimal = units.ipToDecimal('192.168.1.1')
console.log(decimal) // 3232235777
const hex = units.ipToHex('192.168.1.1')
console.log(hex) // 0xC0A80101Runs locally · no API key · no rate limits · Node.js SDK docs →