Sort lines, remove duplicates, reverse, shuffle, number or join them. Alphabetical order handled correctly.
No sign-up, no fees.
Remove duplicate lines, sort A → Z, reverse, shuffle.
Number lines, add a prefix or suffix.
Join a list into one line with commas, or split it back.
Alphabetical order handled correctly, accented letters included.
What you type is processed, but never shared with anyone.
How to use the Remove Duplicate Lines Tool
No more editing a list of hundreds of lines by hand. Four steps:
Paste your list. Paste your list into the Lines box with one item per line: email addresses, names, product codes. A summary like "120 lines, 3 empty, 14 duplicates" shows on top.
Pick the operation. Choose what you want from the Operation list. The result appears right below.
Adjust (if needed). Some operations have extra settings: Ignore case, Prefix / Suffix texts or Separator.
Copy or carry on. Take it with Copy. If you want to run another operation on the result, press Use result as input; for example, remove the duplicates first, then sort.
What are sorting and de-duplicating lines?
Sorting and de-duplicating lines is the job of putting a list written one item under another in order. Removing repeated addresses from an email list, sorting a class list alphabetically, numbering product codes or turning a column into a single comma-separated line takes formulas in Excel and hours when done by hand. This tool does it all on one screen.
Operations
Sort A → Z / Sort Z → A: alphabetical sorting. Numbers are sorted as numbers (a2 comes before a10).
Sort by length: from short to long.
Reverse, Shuffle: reverses the line order or shuffles it randomly. Get a new order with Shuffle again.
Remove duplicates: keeps the first occurrence, doesn't disturb the order.
Trim spaces, Remove empty lines: cleanup.
Number lines: adds 1., 2., 3. to the start of lines.
Add prefix / suffix: for putting each line in quotes or adding a comma at the end.
Join into one line, Split by separator: turns a list into a, b, c and the other way around.
Alphabetical order
Sorting follows the alphabet of the language you're using the site in, so accented letters land where a reader of that language expects them (in Turkish, for example, ç comes after c and ı before i). When looking for duplicates, with Ignore case on, language-aware case rules apply: "ISTANBUL" and "istanbul" count as the same in Turkish, and "HELLO" and "hello" in English.
Tips for joining a list with commas, and more
For SQL or code: first put each line inside ' with Add prefix / suffix, then line them up with commas using Join into one line.
An Excel column: copy the column and paste it; you can paste the result back into a column.
A raffle: shuffle the names with Shuffle; for a fair order there's also Wheel / random draw.
Common mistakes
Lines with a trailing space: "Ann" and "Ann " count as different. First Trim spaces.
Case: if you don't want "Ann" and "ann" counted as different, tick the box.
The operations happen in your browser. What you type is processed, but never shared with anyone.
Is the shuffle really random?
Yes. It uses your browser's secure random number generator and a fair shuffling method (Fisher-Yates).
Why don't capital letters come first in the sort?
In alphabetical order a and A sit next to each other. We don't apply a rule that shows capitals separately and first.
Is the order disturbed when duplicates are removed?
No. The place where each item first appears is kept.
How many lines can I process?
We set no limit. With hundreds of thousands of lines, the browser can slow down.
Is the A-Z sort right for accented letters?
Yes. Letters are sorted according to the alphabet of the language you're using the site in.
Can I use it on my phone?
Yes. Paste the list, pick the operation and tap Copy.
How do I number lines?
Pick the Number lines operation; 1., 2., 3. is added to the start of each line. You can paste the numbered list straight into a document or message.
Is sorting lines the same as sorting in Excel?
Similar, but here the alphabet order is applied precisely and numbers are arranged in natural order. For single-column lists, it's faster than opening Excel.
Can I process the result again?
Yes. Press Use result as input; the result moves to the input box and you can apply a new operation on top.