ToolHub

Text Sorter & Deduplicator

Sort lines alphabetically, remove duplicate lines, reverse, shuffle, and trim text — all in your browser.

Copied!

About Text Sorter & Deduplicator

Sort lines of text alphabetically or numerically, remove duplicate lines, reverse, shuffle, and trim whitespace. Handy for cleaning up lists, logs, and CSV columns.

How to Use

  1. Paste your lines of text.
  2. Choose a sort order or an action (dedupe, reverse, shuffle, trim).
  3. See the processed lines instantly.
  4. Copy the result.

Why Use This Tool?

Frequently Asked Questions

How does it remove duplicate lines?

It keeps the first occurrence of each unique line and drops the rest. You can combine this with sorting to produce a clean, ordered, duplicate-free list.

Is the sort case-sensitive?

Standard alphabetical sorting is case-sensitive by default, so uppercase letters may group before lowercase. Convert the case first with the Case Converter if you need case-insensitive order.

Can it sort numbers correctly?

Yes — numeric sort orders by value (2 before 10), unlike plain alphabetical sort which would place 10 before 2.

Related tools