Line Sorter and Text Line Tools

Naturally sort, reverse, number, prefix or suffix text lines, with explicit blank-line and duplicate handling, entirely locally.

Data handling: common local tools process inputs in your browser; network queries, server execution and optional AI follow their separate data-use notes.

What is Line Sorter and Text Line Tools?

Process directories, numbered lists, names and batch commands one line at a time. Choose natural ascending or descending sort, reverse order, numbering, or a prefix and suffix. Natural sort compares embedded numbers by value, so item2 comes before item10, and uses the page language's collation rules. Blank and duplicate lines are removed only when selected. Dedupe keeps the first exact line unless case-insensitive comparison is enabled.

How to Use

  1. Paste multi-line text and choose one line operation
  2. Optionally remove blank lines, dedupe or ignore case
  3. Check output and filtered-line counts, then copy or download

FAQ

How are item10 and item2 sorted?
Natural sort compares numbers by value, so item2 appears before item10 in ascending order.
Are duplicates removed automatically?
No. Enable duplicate removal explicitly. It is case-sensitive by default and keeps the first complete line.
Does sorting drop blank lines?
No. Blank lines remain unless you enable the remove-blank-lines option.

Related Tools

Last updated 2026-10-18