Back to Free Tools

FREE TOOLS

IPv4 Range to CIDR

Decompose an inclusive IPv4 address interval into its smallest exact CIDR cover.

First IPv4 address, Last IPv4 address

ipv4-range-to-cidr.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the displayed inputs, using the example values as a starting point. JSON inputs must use the documented shape.
  • Choose Calculate result, inspect the complete report and download its JSON file.
  • Change inputs and run again, or Reset to restore the examples and clear working output.

Examples

First IPv4 address: 192.0.2.1
Last IPv4 address: 192.0.2.6

Limitations

  • IPv4 decimal octets only, no leading zeros. Start must not exceed end.
  • At most 100,000 UTF-16 units per text field and 400,000 UTF-8 bytes combined input; 4 MiB output and a 30-second local worker. Valid Unicode only. Tool-specific limits may be tighter.
  • Decimal engineering calculations use finite JavaScript arithmetic. Structured record operations preserve exact JSON numeric tokens. Reports are local calculations or bounded format inspections, not a claim of external validity.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool