Text Cleaner: Remove Duplicate Lines, Sort Lines, Extra Spaces and Invisible Characters
Paste text and tick what you need. The result updates at once. Steps always run in the same order: strip characters, split, trim, drop blanks, drop duplicates, sort, add prefix/suffix, number, join.
Part of the suite: Text tools
FAQ
What are zero-width characters and why remove them?
They are characters you cannot see that hide inside text, often picked up when copying from the web or chat apps. They break comparing, searching and code that reads the text.
Can it sort Thai?
Yes, in the browser's Thai dictionary order, from ก to ฮ.
Will removing punctuation break Thai words?
No. The repetition mark (ๆ) and the abbreviation mark (ฯ) are kept because they are part of Thai words.
Help us improve
Found a bug, want a feature, or have an idea? Tell us here. Every message is read.