developer validator

CIDR to Range Converter

Convert IPv4/IPv6 CIDR blocks to explicit start/end ranges client-side.

Results

Paste input and validate locally.
Status
Ready when you validate.
Details
Ready when you validate.
Start IP
Ready when you validate.
End IP
Ready when you validate.
Total addresses
Ready when you validate.
Family
Ready when you validate.

Rules & checks

Parses IPv4 and IPv6 CIDR notation.

Calculates start/end and total addresses.

Runs entirely in-browser/offline; no data leaves the page.

When to use it

  • Cross-check firewall or SG ranges before deployment
  • Communicate boundaries in runbooks and support docs
  • Validate user-entered CIDRs in admin panels

Tips

  • Keep prefixes within 0–32 for IPv4 and 0–128 for IPv6
  • Use this with the overlap checker to avoid conflicting ranges

Examples

IPv4 /24

  • 10.0.0.0/24 -> start 10.0.0.0, end 10.0.0.255, total 256

IPv6 /64

  • 2001:db8::/64 -> start 2001:db8::, end 2001:db8::ffff:ffff:ffff:ffff

Invalid

  • 10.0.0.0/33 -> invalid (prefix too large)

FAQs

Is any data uploaded?
No. Conversion runs locally and clears on refresh.
Do you list every IP?
No. We show start, end, and the total count for speed.

Related validators

Conversion only; does not test reachability or routing.