Tidy up messy multi-line text: sort, dedupe, remove empty lines, trim spaces. One click, clean result.
Original text (one item per line)
Operations
Result
—
Click “Tidy” and the result appears here, ready to copy.
FAQ
Does dedupe preserve the original order?
Yes. Deduplication keeps the first occurrence of each line and only removes later duplicates, so the order stays intact.
Is sorting case-sensitive?
Yes. Uppercase letters sort before lowercase (by Unicode code point). Pinyin ordering for Chinese is not guaranteed — use a dedicated tool if you need precise Chinese collation.
Is my text uploaded?
No. All processing happens locally in your browser; the text is never sent to a server.