IPv4 netmask converter
Convert a contiguous IPv4 subnet mask to CIDR prefix, wildcard mask and binary.
Result
How it works
A subnet mask contains leading ones followed by zeros. /27 is 255.255.255.224 and its wildcard is 0.0.0.31. Non-contiguous masks are rejected.
More network tools
All tools →IP range to CIDR converter
Convert an inclusive IPv4 or IPv6 address range into the smallest exact set of CIDR blocks, locally in your browser.
CIDR to IP range converter
Find the first and last IPv4 or IPv6 addresses and exact address count for a CIDR prefix.
IPv4 to binary, hex and decimal converter
Convert dotted IPv4 notation into 32-bit binary, hexadecimal and unsigned decimal without a network request.
IPv6 expand and compress
Expand an IPv6 address into eight hexadecimal groups or compress it into canonical RFC 5952 notation.
IPv4 and IPv6 address validator
Check IP address syntax, normalized notation, address family and special-use scope without sending the address to a server.
Browser privacy signals inspector
Inspect a limited set of browser settings locally, including languages, display size, time zone and privacy preference signals.
HTTP request header inspector
See a limited allowlist of headers received by InspectMyIP when you explicitly request this diagnostic.
CIDR overlap checker
Find containment or intersection of two IPv4 or IPv6 CIDR networks.
IP network splitter
Split an IPv4 or IPv6 CIDR network into equal-sized child prefixes.
VLSM subnet calculator
Allocate non-overlapping IPv4 subnets for different host requirements, largest group first.
IPv6 address analyzer
Inspect IPv6 notation, address scope, example prefix, reverse DNS name and mapped IPv4.
IP prefix masking tool
Mask the host bits of an IPv4 or IPv6 address before sharing an example or report.
MAC address analyzer and offline vendor lookup
Analyze a MAC address and match its longest assignment prefix against an IEEE CSV that you supply locally.
