Clean up lists line by line: trim spaces, remove empty and duplicate lines, sort (including natural, numeric and Chinese pinyin or stroke order), filter, find and replace with regular expressions, and add prefixes or line numbers. A second mode repeats text as many times as you need.
Choose Clean & sort lines or Repeat text at the top.
Paste your list into Input, one item per line; if items are separated by commas or tabs, enter the separator in Split input on.
Turn on the cleanup options you need, such as Remove empty lines and Remove duplicate lines, then choose a Sort order and Alphabet order.
Optionally use Filter & replace and Format to keep or drop matching lines, replace text, or add text and numbers to every line.
Copy the Result, download it as .txt, or click Use as input to run another pass.
The first occurrence. Turn on Ignore case when comparing to treat "Apple" and "apple" as the same line.
Natural keeps numbers inside text in order, so item2 comes before item10. Numeric sorts by the first number found in each line. By length puts the shortest lines first.
Set Alphabet order to Chinese (pinyin) or Chinese (stroke count). Sorting uses your browser’s built-in language rules, so results can differ slightly between browsers.
Yes. Turn on Regular expression for the filter or for find and replace, and use $1 for groups in Replace with. \n and \t work in Find and Replace with, and an invalid pattern shows an error.
Enter , in Split input on and leave Join output with empty to get one item per line. To join a column into one line, leave Split input on empty and enter , in Join output with.
Up to 100,000 times, as long as the result stays under 20 million characters. Turn on Replace {n} with the copy number to number each copy.