A little help with text

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 device

Decide 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

InputSettingsResult
Accra / Accra / KumasiOne item per line; remove duplicatesAccra / Kumasi
Item 10 / Item 2Trim and ascending sortItem 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.