IP Range to CIDR Converter
Convert an IP address range into the smallest list of CIDR blocks that covers it exactly, for IPv4 or IPv6.
Runs in your browserIP range → CIDR
Loading tool…
Example
192.168.1.0 - 192.168.1.130
192.168.1.0/25 192.168.1.128/31 192.168.1.130/32
How to use the IP Range to CIDR Converter
- Paste or type your IP range into the input area, or open a file from your device.
- Adjust the options above the editor if the tool offers any.
- Review the CIDR result, then copy it or download it as a file.
Privacy and limitations
- Your data is processed on your device and is not uploaded to any server.
Related converters
Subnet CalculatorCalculate the network, broadcast, host range, usable hosts, wildcard mask and class for an IPv4 address and prefix.CIDR to IP Range ConverterConvert CIDR notation like 10.0.0.0/8 or 2001:db8::/32 into the first and last address and the address count.IPv6 ExpanderExpand shortened IPv6 addresses to the full eight groups of four hex digits.IPv6 CompressorShorten IPv6 addresses to the canonical RFC 5952 form: lowercase, no leading zeros, longest zero run as ::.IPv4 to IPv6 ConverterConvert IPv4 addresses to IPv4-mapped IPv6 (::ffff:a.b.c.d) in mixed, hex or expanded form, or a 6to4 prefix.Hex to IP ConverterConvert hexadecimal values such as 0xC0A80101 or C0.A8.01.01 to IPv4, or 32 hex digits to IPv6.IP Geolocation LookupLook up the approximate country, region, city, time zone and network owner of a public IPv4 or IPv6 address.IP to Hex ConverterConvert IP addresses to hexadecimal, as plain hex, 0x-prefixed or dotted bytes (C0.A8.01.01).