This tool sorts a list of IPv4 addresses in ascending numeric order. It treats IPs as actual numeric values, not simple strings, ensuring accurate sorting. You can also remove duplicates, reverse the order, and add line numbers. The output updates instantly and is ready for copy or export.
How to Use:
- Paste your list of IPv4 addresses into the input box, one per line, or import a
.txt
file using the Choose File button. - In the Options section:
- Toggle Reverse sort to switch from ascending to descending order.
- Toggle Remove duplicates to ensure each IP appears only once.
- Toggle Add line numbers to prefix each line with its index.
- The sorted output appears instantly in the output box.
- Click Copy Output to copy the result to your clipboard.
- Click Export to File to download the sorted IPs as a
.txt
file. - Click Clear All to reset everything.
Example:
Input:
192.168.1.10
10.0.0.5
172.16.0.1
192.168.1.1
10.0.0.1
172.16.0.1
With Remove duplicates + Add line numbers:
Output:
1. 10.0.0.1
2. 10.0.0.5
3. 172.16.0.1
4. 192.168.1.1
5. 192.168.1.10
Common Use Cases:
Use the IP Address Sorter Tool to clean up log files, organize whitelist or blacklist entries, prepare IP ranges for scripts, or audit network data. It ensures that addresses are sorted based on actual numeric value instead of misleading alphabetical order.
Useful Tools & Suggestions:
Once you’ve sorted your IPs, IP to Decimal Converter is useful if you need to do numeric comparisons or range filtering. And if you’re prepping data for display or conversion, IP to Binary Converter helps break things down at the bit level for deeper analysis.