The everyday text toolkit
Free Online List Cleaner – Remove Duplicates & Sort Text
Clean pasted text and lists: remove duplicate or blank lines, trim spaces, and sort while keeping control of every change.
Review removed duplicates
| Removed line | Kept line | Removed original text |
|---|
How it works
The workspace runs in this order: normalize line endings, trim, collapse spaces, optionally normalize Unicode, remove blank lines, remove duplicates, then sort. The first matching line is kept. You choose every change.
When to use it
Use it for copied spreadsheet columns, product codes, reading lists or exported labels. Start with the example to see the review before using your own data.
Good to know
This processes one item per line, not complete spreadsheet rows. Identifiers stay text, so 001 and 1 remain different. Ignore case and Unicode normalization are optional because they can merge distinct entries.
Up to 500,000 characters and 25,000 lines per input. UTF-8 text files up to 2 MB. Review outputs before using them.
CSV protection adds an apostrophe to fields starting with formula-like characters or tab/line-break controls. It changes those values. Protection varies by spreadsheet and may be lost after saving and reopening. Import untrusted data and identifiers as text. Copy or TXT preserves the original values.
Clean a copied spreadsheet column
Copy a single column, then paste one item on each line. Choose which changes to make before selecting Clean my list. Keep input order if the sequence matters; choose natural sorting when labels contain numbers, such as item2 and item10.
The starting settings trim line edges, skip blank lines and remove repeated entries. Collapse spaces, Ignore case and Normalize Unicode are optional. Enable them only when those differences should be removed. For a list of identifiers, review a small sample before processing the full list.
A short cleanup example
Input lines INV-002, INV-010, a blank line, INV-002 and INV-001 become INV-002, INV-010 and INV-001 with the starting settings. The first retained occurrence determines the order.
Review the counts and removed-duplicates table before exporting. TXT preserves the result as text. CSV formula protection may add an apostrophe to formula-like values, so check the import settings in your spreadsheet.
Choose a focused next step
Use Remove duplicate lines when repetition is the only issue. Use Compare two lists to find missing entries, or Extract a CSV column before cleaning values from a multi-column export.
Frequently asked questions
How do I remove duplicates from a list?
Paste one entry per line, turn on Remove duplicates, and choose Clean my list. The first matching entry is kept. You can review removed entries before copying or downloading the cleaned result.
Can I remove blank lines and extra spaces together?
Yes. Select Skip blank lines and Trim line edges. Select Collapse spaces as well if repeated spaces or tabs within each line should become one space. Review the result if spacing matters.
More about cleaning lists
Can I sort alphabetically without losing leading zeros?
Choose A to Z, Z to A, or natural sorting from the Order menu. Identifiers such as 001 remain text in the browser output; spreadsheet apps can still change them when importing CSV, so import identifier columns as text.
Is my pasted text uploaded to a server?
The cleaning tool processes pasted text locally in your browser. The website also offers optional analytics consent; your pasted text and results are not sent to Analytics. See the privacy policy for details.
Which tool should I use for CSV exports?
For a multi-column export, first extract the CSV column you need. Then clean it here or use Compare Two Lists to check values against another list.
Find missing product IDs, not just cleaner text
Work through a fictional inventory export: extract the ID column, review repeated codes, and compare it with a reference list. See exactly why 002 is extra and 003 is missing, while 001 stays intact.
Try the complete inventory workflow →No uploads. No account. Reproducible input and expected results.
