Text line utilities
Paste a list and transform it instantly: sort alphabetically or numerically, remove duplicate or blank lines, trim spaces and reverse the order. Everything happens in your browser: your text is never uploaded to any server.
How to sort and clean lines
- Paste your list of lines into the box on the left.
- Choose how to sort (alphabetical, numeric or no sorting).
- Check the operations you want: remove duplicates, remove blank lines, trim spaces or reverse.
- Press “Process” and review the result on the right.
- Copy the result or download it as a .txt file.
Frequently asked questions
Is my text uploaded to any server?
No. All processing happens in your browser with JavaScript. Your list is never sent to the internet.
In what order are the operations applied?
In this order: spaces are trimmed first, then blank lines are removed, then duplicates, and finally sorting is applied (and reversed if you ask for it). This makes the result predictable.
How does numeric sorting work?
It reads the number at the start of each line and sorts by its value (2 before 10, not as text). Lines that do not start with a number are placed at the end.
What does “Ignore case” do?
It treats “Text” and “text” as equal both when removing duplicates and when sorting alphabetically. The result keeps the lines exactly as you typed them.
Does removing duplicates keep the order?
Yes. It keeps the first occurrence of each line and removes later repetitions, unless you apply sorting afterwards.
Does it work offline?
Yes. Once the page has loaded, everything is processed locally, so it works without internet.