The toolkitLists & tables

Text cleanup.

Clean up a pasted list. Remove duplicates and blank lines, sort naturally, or add a prefix and suffix.

On your device · No account needed

USEFUL DETAILS

Keep the order you need.

Keep original order retains the first occurrence of each line. Trimming runs before duplicate removal; matching is case-sensitive. Natural sorting puts item 2 before item 10. Apply to input chains another cleanup step, with Undo available.

Quick start

  1. Paste a column or a list, one item per line.
  2. Choose which spaces, blank lines or duplicates to remove. Keep the order or choose a sort.
  3. Copy the result. Apply to input lets you run another step; Undo takes you back.

Remove duplicates, keep the original order

Trim whitespace, remove blank lines and remove duplicates. Sort: Keep original order.

Input

  SKU-003
SKU-001
SKU-003

SKU-002

Result

SKU-003
SKU-001
SKU-002

Common questions

How do I remove duplicate lines without sorting them?

Select Remove duplicates and choose Keep original order. The first occurrence of each line is kept. Enable Trim whitespace if spaces at either end should be ignored before duplicates are removed.

Is duplicate removal case-sensitive?

Yes. Apple and apple remain separate lines. Natural sorting recognises numbers within text, placing item 2 before item 10. Prefixes and suffixes are added after the cleanup operations.