Network Tools
Perform IP address conversions, subnet calculations, MAC address formatting, port validation, DNS lookups, and other networking utilities.
Actions
network-ipv4-to-binary
Convert an IPv4 address to its binary representation.
Required: input - IPv4 address
{"action": "network-ipv4-to-binary", "input": "192.168.1.1"}
Returns: binary string (continuous and dotted), bit length.
network-binary-to-ipv4
Convert a 32-bit binary string back to an IPv4 address.
Required: input - 32-bit binary string (dots/spaces allowed)
{"action": "network-binary-to-ipv4", "input": "11000000101010000000000100000001"}
Returns: the corresponding IPv4 address.
network-ipv4-to-integer
Convert an IPv4 address to its integer and hexadecimal representations.
Required: input - IPv4 address
{"action": "network-ipv4-to-integer", "input": "192.168.1.1"}
Returns: integer value and hex value.
network-integer-to-ipv4
Convert an integer (0-4294967295) back to an IPv4 address.
Required: input - integer as a string
{"action": "network-integer-to-ipv4", "input": "3232235777"}
Returns: the corresponding IPv4 address and hex value.
network-subnet-calculator
Calculate full subnet details from CIDR notation.
Required: input - CIDR notation (e.g., 192.168.1.0/24)
{"action": "network-subnet-calculator", "input": "10.0.0.0/16"}
Returns: network address, broadcast address, netmask, wildcard mask, first/last usable host, total addresses, usable addresses, prefix length, IP class.
network-cidr-to-range
Convert CIDR notation to a start/end IP range with sample IPs.
Required: input - CIDR notation
{"action": "network-cidr-to-range", "input": "192.168.1.0/28"}
Returns: start IP, end IP, total IPs, and up to 10 sample IPs.
network-ip-in-range
Check whether an IP address falls within a given CIDR range.
Required: input - IPv4 address to check
Required: input2 - CIDR notation to check against
{"action": "network-ip-in-range", "input": "192.168.1.50", "input2": "192.168.1.0/24"}
Returns: boolean in_range, plus network and broadcast addresses of the range.
network-mac-format
Reformat a MAC address into different notation styles.
Required: input - MAC address in any format
Optional: format - output style: colon (default), dash, dot, or plain
{"action": "network-mac-format", "input": "001A2B3C4D5E", "format": "dash"}
Returns: formatted MAC and all four format variants.
network-port-validate
Validate a port number and identify the associated well-known service.
Required: input - port number (1-65535) as a string
{"action": "network-port-validate", "input": "443"}
Returns: validity, port type (well-known / registered / dynamic), and service name if recognized (e.g., HTTPS, SSH, MySQL).
network-dns-lookup
Resolve a hostname to its IP address(es).
Required: input - hostname
{"action": "network-dns-lookup", "input": "google.com"}
Returns: primary IP and list of all resolved IPs.
network-reverse-dns
Perform a reverse DNS lookup on an IP address to find its hostname.
Required: input - IPv4 address
{"action": "network-reverse-dns", "input": "8.8.8.8"}
Returns: hostname if a PTR record exists, or a not-found message.
network-ip-info
Get detailed classification information about an IPv4 address.
Required: input - IPv4 address
{"action": "network-ip-info", "input": "10.0.0.1"}
Returns: IP version, class (A/B/C/D/E), and boolean flags for private, loopback, multicast, reserved, and global.
network-generate-ipv6
Generate a random IPv6 address. No input required.
{"action": "network-generate-ipv6"}
Returns: full and compressed IPv6 address representations.
network-private-ip-check
Check whether an IPv4 address belongs to a private, loopback, or link-local range.
Required: input - IPv4 address
{"action": "network-private-ip-check", "input": "172.16.5.10"}
Returns: private/loopback/link-local flags and the matching private range name if applicable.
network-cidr-validate
Validate CIDR notation and check whether it uses strict network addressing.
Required: input - CIDR notation
{"action": "network-cidr-validate", "input": "192.168.1.100/24"}
Returns: validity, correct network address, prefix length, whether the notation is strict, and the corrected CIDR if needed.
Common Workflows
Plan a subnet: Use network-subnet-calculator to get the full breakdown, then network-cidr-to-range to see actual host IPs.
Verify an IP belongs to a network: Use network-ip-in-range with the IP and the CIDR block.
Audit IP classification: Use network-ip-info for general details, then network-private-ip-check to confirm private range membership.
Resolve and reverse-verify a host: Use network-dns-lookup to get the IP, then network-reverse-dns on the result to confirm the PTR record matches.
Important Notes
- All IP address inputs must be valid IPv4 dotted-decimal format unless otherwise noted.
- CIDR notation must include the prefix (e.g.,
/24). The tool uses non-strict parsing, so host bits in the address portion are accepted. - The
inputandinput2parameters are always strings, even for numeric values like port numbers or integers. - The
formatparameter only applies tonetwork-mac-format. network-generate-ipv6is the only action that requires no input.







