Paste your lines below, choose sorting options, and get sorted output instantly.
Lines: 0
Characters: 0
Output lines: 0
Frequently Asked Questions
What is a line sorter used for?
A line sorter organizes lists of text into a defined order. Common uses include sorting names alphabetically, organizing inventory lists, arranging URLs, sorting CSV rows, ordering log entries, and cleaning up word lists for dictionaries or autocomplete systems.
How does numerical sorting work?
Numerical sorting treats each line as a number and sorts by its numeric value. So "10" comes after "9" (not before, as it would in alphabetical order). Lines that aren't valid numbers are placed at the end of the sorted list.
What does "Remove duplicates" do?
It keeps only the first occurrence of each unique line, removing all subsequent duplicates. When combined with case-insensitive mode, "Apple" and "apple" are treated as the same line. This is useful for creating unique word lists or deduplicating email lists.
Is my data safe? Does it get uploaded anywhere?
Your data never leaves your browser. All sorting happens entirely in JavaScript on your device. Nothing is sent to any server, making this tool safe for sensitive data like email lists or internal documents.
Can I sort lines from a CSV or Excel file?
Yes! Copy a single column from Excel or a CSV and paste it here. Each cell value will be on its own line, and you can sort, deduplicate, and clean them. Then paste the result back into your spreadsheet.
What is random shuffle useful for?
Random shuffle randomizes the order of lines using the Fisher-Yates algorithm. It's useful for creating randomized question sets, shuffling participant lists for draws, randomizing test data, or generating random playlists or menus.