Sort lines alphabetically
Sort any list from A to Z or Z to A. Clean Copied Text cleans empty lines, trims spaces and organizes your text quickly, with numeric-aware sorting so "item 2" comes before "item 10".
34 characters · 7 words · 5 lines · 1 paragraphs
0 characters · 0 words · 0 lines · 0 paragraphs
Your text stays in your browser. Clean Copied Text does not upload or store what you paste.
What this tool fixes
- Lines sorted ascending or descending
- Case-insensitive ordering by default
- Numeric-aware sort (2 before 10)
- Empty lines removed before sorting
How to use it
- 1Paste your textDrop in the messy text you copied from anywhere.
- 2Click cleanClean Copied Text fixes the formatting instantly, in your browser.
- 3Copy the resultCopy the clean text or download it as a .txt file.
Common uses
Alphabetizing names, tags or keywordsOrganizing a glossary or indexSorting file names or IDsTidying any copied list
Related tools
Frequently asked questions
- Can I sort Z to A?
- Yes. Switch the direction to descending in the fine-tune options.
- How are numbers handled?
- Numeric-aware sorting is on by default, so 2 comes before 10 instead of being compared character by character.