IP Range to CIDR
Convert a start–end IP range to the smallest list of CIDR blocks, and back.
About this tool
Turn a range such as 10.0.0.5 – 10.0.1.20 into the minimal set of CIDR blocks for firewall rules and access lists, or expand CIDR blocks into their first and last address.
Lookups are never stored. IP geolocation by DB-IP.com (CC BY 4.0) – locations are approximate.