Sort IP Addresses Online

Sort IPv4 addresses numerically by all four octets. For example, 10.0.0.2 comes before 10.0.0.10.

Review IPv4 exports in numeric address order

The sorter treats each valid dotted-decimal IPv4 address as four numeric octets between 0 and 255, then compares the complete address value. It does not contact, resolve or scan any address.

Example: input and output

192.168.1.1
10.0.0.10
10.0.0.2
invalid
10.0.0.2
10.0.0.10
192.168.1.1
invalid

Use Load sample in the tool to try this example.

Rules and limits

This mode supports IPv4 only. IPv6, CIDR prefixes, hostnames, ports and octets with leading zeros are kept at the end in their original order. Disable cleanup if you need to preserve whitespace or blank lines.

Questions and answers

Does this support IPv6 or CIDR ranges?

No. This page sorts dotted-decimal IPv4 addresses only; other entries remain at the end for review.

Are the addresses contacted?

No. The tool only compares text locally in your browser.

Is my text uploaded?

No. Processing happens locally in your browser. No account is required. Settings links share options, not your text.