CIDR Converter
Convert IP ranges to the smallest list of CIDR blocks, merge overlapping CIDRs, expand a CIDR to its range and convert netmasks.
Open toolCalculate network, broadcast, usable host range, netmask and wildcard for any IPv4 or IPv6 CIDR, and split it into subnets.
Enter an address with a prefix (192.168.10.37/26), a dotted netmask (192.168.1.10 255.255.255.0) or an IPv6 block (2001:db8::/48) to get the network address, first and last usable host, broadcast address, number of usable hosts and total addresses, netmask and wildcard (ACL) mask, plus the binary form for IPv4. /31 point-to-point links and /32 host routes are handled per RFC 3021, and IPv6 addresses are shown in canonical compressed form (RFC 5952) and fully expanded.
The address is classified using IANA’s special-purpose registries — private (RFC 1918), CGNAT, loopback, link-local, documentation, multicast, unique local and more. Split the block into equal smaller subnets, or find the smallest subnet that fits a number of hosts. All calculations use exact 128-bit arithmetic. Everything runs in your browser. What you paste is never uploaded, logged or stored.
Your code or text
IPv4, IPv6, CIDR, Dotted netmask
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Enter an IP address with its prefix or netmask.
Read the network details and copy any value.
Optionally split the block into smaller subnets or size one for a host count.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Read the network details and copy any value.
Optionally split the block into smaller subnets or size one for a host count.
Convert IP ranges to the smallest list of CIDR blocks, merge overlapping CIDRs, expand a CIDR to its range and convert netmasks.
Open toolConvert MAC addresses between colon, hyphen, Cisco dot and plain formats in bulk, and see unicast/multicast and EUI-64 details.
Open toolLook up what a TCP or UDP port number is used for, or find the port for a service like SSH, PostgreSQL or Redis.
Open toolPretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open tool