IP Range to CIDR Converter

Convert an IPv4 range into the minimal list of CIDR blocks, or CIDR blocks into IP ranges.

Runs instantly in your browser — results update as you type.

How do I convert an IP range to CIDR?

Enter the range as start – end and the converter splits it into the fewest CIDR blocks that cover exactly those addresses. For example 192.168.1.0 – 192.168.1.130 becomes 192.168.1.0/25, 192.168.1.128/31 and 192.168.1.130/32.

How to use the IP Range to CIDR Converter

    Frequently asked questions

    Does it support IPv6?

    This tool handles IPv4.

    Can I convert several CIDRs at once?

    Yes, enter them separated by spaces, commas or new lines.

    Is it free?

    Yes.