Skip to content

IPv4 Range to CIDR

Cover inclusive start and end IPv4 addresses with the smallest aligned CIDR blocks, without extra addresses.

Convert in your browser · No sign-up

Cover inclusive start and end IPv4 addresses with the smallest aligned CIDR blocks, without extra addresses.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Result

Add your input or load an example, then run the tool. Your result will appear here.

How to use

  1. Choose the options, then run the tool.
  2. Check the result, then copy or download it.

Example

192.168.1.0 — 192.168.1.255 → 192.168.1.0/24

Details and limitations

Processing stays in your browser.

Format references

Tool page updated: