List cleaner
Turn a rough list into something you can use. Remove repeated entries, trim extra spaces, or sort your lines while keeping control of what changes.
List cleaner
Runs on your deviceDecide what counts as a duplicate
A duplicate is a repeated line, not a repeated word inside a sentence. With case matching left on, Accra and accra are different entries. Ignore case when those two spellings should represent the same item. The tool keeps the first spelling it encounters. Trimming runs before duplicate removal, so a name with an extra space at the end can match the same name without it.
Keep order when order means something
The default preserves the order of the first occurrence. That is useful for a reading list, a sequence of tasks, or a set of items already arranged by priority. Ascending and descending sort use the browser’s language-aware comparison with numeric sorting: Item 2 normally comes before Item 10. Exact ordering can differ across browsers and locales.
Check before replacing a source list
A line-by-line cleanup cannot tell whether two people share a name or whether differently spelled labels refer to the same thing. Do not remove duplicates from identity records based on a name alone. Keep a copy of your source and inspect the cleaned result. The input limit is 300,000 characters. Removed means the difference in line count after the selected operations; it can include blank lines as well as duplicates.
Worked examples
| Input | Settings | Result |
|---|---|---|
| Accra / Accra / Kumasi | One item per line; remove duplicates | Accra / Kumasi |
| Item 10 / Item 2 | Trim and ascending sort | Item 2 / Item 10 |
Good questions.
Does it change my original file?
No. You paste text and receive a separate result. A downloaded copy is a new text file.
Can it merge similar spellings?
No. Matching is exact after your selected trimming and case rules. It does not guess identities.
What happens to empty lines?
They are removed only when the remove-empty-lines option is selected.
Updated 5 November 2026 · Methods & corrections
A useful next read.
From a spreadsheet export to useful JSON
Check delimiters, headers, quoting, and identifiers before converting a table for another application.
Clean a text list without losing its meaning
Keep an original, choose matching rules, compare the result, and avoid turning text cleanup into accidental data deletion.