Sort Lines
Local ProcessingSort lines alphabetically (Korean or English), numerically, by length, or as IP addresses.
How It Works & Processing Standards
Sort lines alphabetically (Korean or English), numerically, by length, or as IP addresses.
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Current Limits
- Maximum input length: 2,000,000 characters
Sorts a one-item-per-line list nine ways. Numeric order compares values, so "10" comes after "2".
What You Can Do
- Text order
- Korean order, alphabetical, case-insensitive, ascending or descending
- Numeric
- Compares numbers by value, not as text.
- Length
- By line length or word length
- IP address
- Compares octet by octet so 10.0.0.2 comes before 10.0.0.12.
How to Use Sort Lines
- 1Choose an orderPick the order that suits your list.
- 2Paste the listOne item per line.
- 3CopyCopy the sorted list.
Examples
Korean order
Input: 다람쥐 / 가방 / 나비
Result: 가방 / 나비 / 다람쥐
Numeric order
Input: 10 / 2 / 33 / 4
Result: 2 / 4 / 10 / 33
IP address order
Input: 10.0.0.12 / 10.0.0.2 / 192.168.0.1
Result: 10.0.0.2 / 10.0.0.12 / 192.168.0.1
Common Use Cases
- Alphabetizing names or vocabulary lists
- Ordering a list of numbers by size
- Tidying a list of server IPs
Frequently Asked Questions (FAQ)
"10" comes before "2".
That is text order. Choose "numeric" to sort by value.
Can I also remove duplicates?
Use it together with the Duplicate Remover.
