All tools / Text and words / Line cleaner
Line cleaner
Sort lines, remove duplicates and blank lines.
Loading interactive tool…
Open the full tool for saved settings, clipboard access, or more space.
About this tool
Clean up lists with one item per line. Trim extra spaces, drop blank lines, remove duplicate entries and sort alphabetically. Useful for email lists, keyword lists, log output and spreadsheet columns pasted as text.
How to use it
- Paste your list, one item per line.
- Tick the clean-up options you want.
- Copy the cleaned list from the result box.
Questions
- Does removing duplicates keep the original order?
- Yes. The first occurrence of each line stays where it was. Turn on sorting if you want alphabetical order instead.
- Is my list uploaded anywhere?
- No. The cleaning happens in your browser and nothing is sent to a server.