Skip to main content

Clean spaces and blank lines, remove duplicate lines and optionally sort lists or pasted text.

Preview and results

After processing is complete, the results will be displayed here.

Instructions for use

  1. Paste a list or text to clean, up to 200000 characters.
  2. Choose how to handle spaces, blank lines and duplicates; optionally sort by character order.
  3. Clean the text, review it, then copy or download. The original input remains unchanged.

Input and output examples

Example input
Alice Alice Bob
Example output
Alice Bob

These are demo inputs and sample results, and do not mean that your data has been processed.

Calculation basis and reference materials

Up to 200000 characters. Deduplication is case-sensitive and keeps the first occurrence. Sorting uses character order, not pinyin. Whitespace cleanup can change code indentation; review the result.

Content check: · About this site and content description

Related tools