Firewalls, cloud security groups and allowlists usually want CIDR blocks, but providers often publish ranges like 10.0.0.5 - 10.0.1.20. IP range → CIDR blocks returns the smallest set of aligned CIDR blocks that covers exactly that range, without including a single extra address. Enter one range per line using -, to or a space between the two addresses.

CIDR → IP range does the reverse and flags entries with host bits set (172.16.5.9/20 really means 172.16.0.0/20). Merge / aggregate takes a list of CIDRs, removes overlaps and duplicates, and joins adjacent blocks into the fewest possible entries, which helps keep rule lists short.

Lines starting with # are ignored, so you can paste annotated lists. IPv4 only. Everything is computed locally in your browser.