Text Sorter
Sort lines alphabetically, by length, or randomly. Remove duplicates and blank lines.
Sort by:
Input8 lines
Result
8 lines
Input: 8 lines→Output: 8 lines
How to use / Why use this tool / FAQ
How to use
Paste your text (one item per line) into the input box. Choose a sort order and toggle any cleanup options. Click Sort to see the result, then Copy to copy it.
Why use this tool
Quickly organize lists, remove duplicates from data, or shuffle items for randomization. No sign-up needed, all processing happens in your browser.
FAQ
- What does 'Remove Duplicates' do?
- It removes identical lines, keeping only the first occurrence of each unique line.
- Is sorting case-sensitive?
- A–Z and Z–A sorting uses locale-aware comparison, so uppercase and lowercase letters are grouped naturally.
- Can I sort CSV or TSV data?
- This tool sorts line by line. For CSV, paste one value per line to sort individual values.