Antpact Toolbox
中文
Home › Utilities & Developer › Text De-duplicate & Sort

Text De-duplicate & Sort

Clean lists: de-duplicate, sort, drop empty lines, trim, reverse or shuffle — live.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Paste your text on the left, one item per line.
  2. Tick the rules you need (trim / drop empty / de-duplicate / sort).
  3. See the result live — copy, download or feed it back for more processing.

FAQ

Is de-duplication line-based?

Yes — it compares whole lines and keeps the first occurrence. With case-insensitive on, differing case counts as the same line.

Does sorting support Chinese?

Yes — it uses locale-aware sorting (pinyin for Chinese) with natural number ordering, so item2 comes before item10.

Do reverse and shuffle change my input?

Yes. They are one-off actions that rewrite the left input so you can continue applying other rules to the new order.

How much text can it handle?

Tens of thousands of lines are instant; split very large files to avoid lag.

Is anything uploaded?

No — all processing happens locally in your browser.

About this Text De-duplicate & Sort

Everything is processed line by line in your browser. Rules combine in order: trim, drop empty, de-duplicate, sort. "Reverse" and "Shuffle" are one-off actions that rewrite the input so you can keep applying rules.