List cleaner
Trim lines, remove blanks and duplicates, and optionally sort a list in one run.
How to use List cleaner
Paste one entry per line or open a UTF-8 text file. Leave Trim line edges, Drop blank lines, and Keep one copy of each line enabled to clean most pasted lists. Trimming runs first so a trailing space cannot hide a duplicate. Sorting runs last and is optional.
Worked example
Item 10 Item 2 Item 10 Item 1
Item 10 Item 2 Item 1
Preserve priority and capitalization
Leave Sort unchecked to keep the first occurrence in its original position. Matching is case-sensitive, so North and NORTH stay separate. Trimming removes only whitespace at line edges and preserves spaces inside an entry.
Sort labels that contain numbers
Enable natural sorting to put Item 2 ahead of Item 10. For an ordered checklist or a ranked list, keep sorting off so the original sequence stays intact.