Bulk IP Range to CIDR Converter
Paste multiple start and end IP pairs (IPv4 or IPv6), and get the minimal set of CIDRs for each range, separated by your chosen separator.
Results
Waiting for your input...
Instructions
- Paste or enter multiple IP ranges, one per line, using a separator (default: -) between start and end IPs (e.g., 192.168.1.0 - 192.168.1.255).
- Choose a separator to split the start and end IPs (default: -).
- Click "Convert" to see the minimal set of CIDRs for each range, one set per line.
- Both IPv4 and IPv6 addresses are supported.
- Invalid ranges will be marked as errors in the output.
Example: - Input: 192.168.1.0 - 192.168.1.255 10.0.0.0 - 10.0.0.10 - Output: 192.168.1.0/24 10.0.0.0/29, 10.0.0.8/31, 10.0.0.10/32
Frequently Asked Questions (FAQs)
Can I use both IPv4 and IPv6 addresses?
Yes, you can mix IPv4 and IPv6 ranges in the input.
What happens if a range is invalid?
The output will show an error message for that line.
Can I change the separator?
Yes, you can use any string as a separator between the start and end IPs.
Is there a limit to how many ranges I can convert at once?
For performance, the tool allows up to 1000 ranges per request.
API Usage
POST /tools/bulk-ip-range-to-cidr/api/
Request Body: { "ranges": "192.168.1.0 - 192.168.1.255\n10.0.0.0 - 10.0.0.10", "separator": "-" }
Response: { "result": "192.168.1.0/24\n10.0.0.0/29, 10.0.0.8/31, 10.0.0.10/32" }