Sort IP Addresses
Sort IPv4 and IPv6 addresses numerically in your browser—not alphabetically.
Embed this tool
Copy the iframe code below to add this tool to your site. The embed loads Sort IP Addresses without ads.
Embed code copied to clipboard.
Tool workspace
Sorts IPv4 and IPv6 by numeric/binary value (not alphabetically). One address per line; blank lines ignored. No CIDR. Nothing you paste is uploaded.
How it works
Addresses are ordered by numeric/binary value (so 9.0.0.1 comes before 10.0.0.1), not as plain text. Mixed lists put IPv4 before IPv6, then sort within each family. Original spelling is preserved—compressed IPv6 is not rewritten.
Choose Ascending or Descending. Everything runs in your browser. Nothing you paste is uploaded.
Examples
- 10.0.0.1 9.0.0.1 → 9.0.0.1 then 10.0.0.1 (ascending)
- 2001:db8::2 2001:db8::1 → 2001:db8::1 then 2001:db8::2
- Mixed IPv4 + IPv6 → all IPv4 first, then IPv6
Privacy
FAQ
Is my IP list uploaded?
No. Sorting runs entirely in your browser. We do not log or store what you paste.
Why not sort alphabetically?
String order puts 10.x before 9.x. This tool compares the numeric value of each address so network order is correct.
Does it support CIDR?
Not in this version. Paste bare IPv4 or IPv6 addresses only (no /prefix).
Do I need an account?
No. All published tools work for guests without login.