IPv4 netmask converter

Convert a contiguous IPv4 subnet mask to CIDR prefix, wildcard mask and binary.

Workspace (EN)

Runs in your browser. The input and results are not sent to our servers.

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.

Related technical guide →

Technical reference

More network tools

All tools →
Conversion

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.

Open tool
Conversion

CIDR to IP range converter

Find the first and last IPv4 or IPv6 addresses and exact address count for a CIDR prefix.

Open tool
Conversion

IPv4 to binary, hex and decimal converter

Convert dotted IPv4 notation into 32-bit binary, hexadecimal and unsigned decimal without a network request.

Open tool
Conversion

IPv6 expand and compress

Expand an IPv6 address into eight hexadecimal groups or compress it into canonical RFC 5952 notation.

Open tool
Diagnostic

IPv4 and IPv6 address validator

Check IP address syntax, normalized notation, address family and special-use scope without sending the address to a server.

Open tool
Privacy

Browser privacy signals inspector

Inspect a limited set of browser settings locally, including languages, display size, time zone and privacy preference signals.

Open tool
Diagnostic

HTTP request header inspector

See a limited allowlist of headers received by InspectMyIP when you explicitly request this diagnostic.

Open tool
Subnetting

CIDR overlap checker

Find containment or intersection of two IPv4 or IPv6 CIDR networks.

Open tool
Subnetting

IP network splitter

Split an IPv4 or IPv6 CIDR network into equal-sized child prefixes.

Open tool
Subnetting

VLSM subnet calculator

Allocate non-overlapping IPv4 subnets for different host requirements, largest group first.

Open tool
Diagnostic

IPv6 address analyzer

Inspect IPv6 notation, address scope, example prefix, reverse DNS name and mapped IPv4.

Open tool
Privacy

IP prefix masking tool

Mask the host bits of an IPv4 or IPv6 address before sharing an example or report.

Open tool
Lookup

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.

Open tool