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.

How to use

  1. Cover inclusive start and end IPv4 addresses with the smallest aligned CIDR blocks, without extra addresses.
  2. Choose the options, then run the tool.
  3. 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

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

Processing stays in your browser.

FAQ

Supported inputs and limits

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

Format references

Tool page updated: