Good to know
What each option does
- Remove duplicates
- Keeps the first copy of each line and drops later ones, so items stay in the order they first appeared.
- Ignore case
- Treats Apple and apple as the same line. The first spelling is the one kept.
- Trim spaces
- Removes spaces and tabs from the start and end of every line in the result. Even without it, lines that differ only by those outer spaces count as duplicates.
- Remove empty lines
- Drops blank lines, including ones that hold only spaces.
- Remove every copy of repeated lines
- Instead of keeping one copy, removes every line that appears more than once, leaving only the one-offs.
A worked example
Input Result sam@example.com sam@example.com Lee@example.com Lee@example.com sam@example.com ana@example.com ana@example.com lee@example.com
With Remove duplicates and Ignore case ticked, 5 lines go in and 3 come out. Tick Remove every copy of repeated lines as well and only ana@example.com is left, because the other two addresses each appear twice.
Sorting
- A → Z (natural) sorts the way people expect: item 2 comes before item 10, and capitals or accents do not push words out of place. Z → A is the same in reverse.
- Shortest first and Longest first sort by length, then alphabetically when two lines are the same length.
- Reverse order flips the list. Shuffle puts it in random order using your browser's secure random numbers, which suits something like drawing an order of names.
Sorting happens after the clean-up, so which copy counts as the first is judged in your original order.
Limits
Lists of tens of thousands of lines work comfortably; very large pastes depend on your device's memory. A line is everything up to a line break, so several items on one line separated by commas count as a single line.