How to use
- Paste or type your text into the input box, one item per line.
- Click an action: Sort A→Z, Sort Z→A, Remove duplicates, Reverse, Shuffle, Trim whitespace, or Remove empty lines.
- Review the transformed lines in the output box below.
- Click Copy to copy the cleaned result to your clipboard.
Frequently asked questions
Is my text uploaded anywhere?
No. Line Tools runs entirely in your browser, so your text is processed locally and never sent to any server.
How are the lines sorted?
Lines are sorted alphabetically using your locale's rules, so accented characters and capitalization end up in a natural order. Choose Sort A→Z or Sort Z→A.
Does Remove duplicates keep the first occurrence?
Yes. Duplicate lines are removed while preserving the first time each line appears and the overall order of the remaining lines.
Is there a limit on how many lines I can process?
There is no fixed limit. Since processing happens in your browser, very large lists depend only on your device's memory, and typical lists of thousands of lines are handled instantly.
Can I combine actions like trim and dedupe?
Yes. Each action transforms the current input, so you can copy a result back into the input box to chain operations, for example Trim whitespace then Remove duplicates.
What counts as an empty line, and does Trim change my lines?
Remove empty lines drops any line that is blank or contains only spaces. Trim whitespace removes leading and trailing spaces from every line without deleting the line itself.
About this tool
Free online line tools to sort lines A→Z or Z→A, remove duplicate lines, reverse, shuffle, trim whitespace and delete empty lines. Runs 100% in your browser — nothing uploaded.