Text

Sort lines & remove duplicates

Sort a list alphabetically, remove duplicate or empty lines and trim whitespace — all at once, in your browser.

Input
Result
The result appears here.

How to use it

Paste one item per line and toggle what you need: trim spaces, drop blank lines, remove duplicates, sort A to Z, or reverse the order. Great for cleaning up email lists, keyword lists or any quick set of values.

Example

Input banana / apple / banana / cherry
Result apple / banana / cherry (sorted, de-duplicated)

Frequently asked questions

In what order does it sort?

Alphabetically using locale-aware comparison, so accented and special characters sort sensibly rather than by raw byte value.

Can I remove duplicates without sorting?

Yes. Each option is independent — turn on remove duplicates and leave sorting off to keep the original order.

Does it change my clipboard automatically?

No. It only copies when you press the copy button.