Clean up a list

Run several tools one after another, each on the result of the one before. Save a chain as a recipe.

  1. 1Removed 7 spaces
  2. 2Removed 3 lines
  3. 3Sorted 4 lines

Input

Output

Ran 3 steps
Words 6Characters 45Without spaces 32Sentences 1Lines 7Paragraphs 2Reading time < 1 min

About Clean Up a List

Lists copied from spreadsheets, emails and forms are rarely tidy: stray spaces, blank lines, the same item twice with different capitals, and no order at all.

This page runs three tools in a row on your list: remove extra spaces, remove duplicate lines ignoring case, and sort A to Z. Change any step, or add more, such as joining the result with commas.

How to use it

  1. Paste your list into the Input box, one item per line.
  2. The cleaned list appears on the right straight away.
  3. Adjust a step’s options, or use Add step to do more.
  4. Copy the clean list or download it as .txt.

Frequently asked questions

Which duplicate is kept?

The first time an item appears. With Ignore case on, “Apple” and “apple” count as the same item.

Can I get the result comma-separated?

Yes. Use Add step, pick List ↔ comma separated, and the cleaned list is joined with commas.

Related tools