Skip to content

IPv4 Range Expander

Expand CIDR notation or IP address ranges into a complete list of individual IP addresses.

IPv4 Range Expander tool

Loading...

Example

Input: 192.168.1.0/28, then Expand Range

Result: Total Addresses 16, Network 192.168.1.0, Broadcast 192.168.1.15, Expanded IPs (16): 192.168.1.0, 192.168.1.1 ... 192.168.1.15

A /28 keeps 4 host bits, so it spans 2^4 = 16 consecutive addresses. Start-end ranges such as 10.0.0.1 - 10.0.0.50 are expanded the same way.

Private and Special IPv4 Ranges

BlockRangeAddressesUsed for
10.0.0.0/810.0.0.0 - 10.255.255.25516,777,216Private (RFC 1918)
172.16.0.0/12172.16.0.0 - 172.31.255.2551,048,576Private (RFC 1918)
192.168.0.0/16192.168.0.0 - 192.168.255.25565,536Private (RFC 1918)
100.64.0.0/10100.64.0.0 - 100.127.255.2554,194,304Carrier-grade NAT (RFC 6598)
169.254.0.0/16169.254.0.0 - 169.254.255.25565,536Link-local (RFC 3927)
127.0.0.0/8127.0.0.0 - 127.255.255.25516,777,216Loopback (RFC 1122)

First, last and count computed with the expander logic.

  1. Enter a CIDR block (for example 192.168.1.0/28) or a start-end range (for example 192.168.1.1 - 192.168.1.14). The tool detects the format itself.
  2. Check the summary for the total address count and the first and last address.
  3. Click "Expand Range" to list every address, up to 4,096 at a time.
  4. Click "Copy All" to copy the whole list, or copy single addresses with their own buttons.

Turning a CIDR Block Into a List of IPs

The IPv4 Range Expander turns a CIDR block or a start-end range into a plain list of every address in it. Enter 192.168.1.0/28 and you get 16 addresses, from 192.168.1.0 to 192.168.1.15, ready to copy one per line.

There are three ways to type the input. Use a CIDR block (10.0.0.0/24), a range with a dash or the word "to" (10.0.0.1 - 10.0.0.50), or a single address. As you type, a summary shows the total count and the first and last address. For a CIDR block these are the network and broadcast addresses. If you enter a host address such as 192.168.1.77/28, the tool still starts from the block boundary, 192.168.1.64.

Click Expand Range to build the list. It is capped at 4,096 addresses, the size of one /20 block, so your browser stays fast. Bigger blocks still get a summary and a warning, but no list. The list includes the network and broadcast addresses, because firewall and inventory work usually needs every address in the block. Typical uses are checking what a firewall rule really covers, filling an inventory sheet, or building an allow-list for a system that does not understand CIDR. Only scan networks you own or have permission to test. To see masks and usable host counts instead of a raw list, use the IPv4 Subnet Calculator.

Sources

Frequently Asked Questions

A /24 contains 256 addresses, from x.x.x.0 to x.x.x.255. The expander lists all 256, including the network and broadcast addresses, though only 254 can be given to devices. Each longer prefix halves the count: a /25 has 128 addresses, a /26 has 64, a /27 has 32 and a /28 has 16.
Up to 4,096 addresses per run, the size of a /20. For a bigger block, such as a /16 with 65,536 addresses, the tool shows the total and the first and last address but does not print the list. Split the block into /20 pieces, such as 10.0.0.0/20 and 10.0.16.0/20, and expand them one at a time.
Yes. Enter two addresses separated by a dash or the word "to", such as 10.0.0.1 - 10.0.0.50, and you get exactly those 50 addresses. The range can cross octet borders, like 10.0.0.250 - 10.0.1.5. If you type the higher address first, the tool swaps them for you.
RFC 1918 sets aside three private ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They are not routed on the public internet, so homes and offices reuse them behind NAT. The table on this page shows the first and last address and the size of each one, plus a few other special ranges.

Related Tools

IPv4 Subnet Calculator

Calculate network address, broadcast address, host range, subnet mask, and wildcard mask from any IP and CIDR prefix.

Network Tools

IPv4 Address Converter

Convert IPv4 addresses between decimal, binary, hexadecimal, and integer representations instantly.

Network Tools

IPv6 ULA Generator

Generate unique local IPv6 addresses (ULA) per RFC 4193 with cryptographically random prefixes.

Network Tools

Random Port Generator

Generate random port numbers within specified ranges for development, testing, and network configuration.

Network Tools