Skip to main content
SiteIndex
UtilitiesReady to use

Text Line Sorter

Sort lines of text alphabetically, numerically, by length, or in reverse, with duplicate removal.

Guide

Interactive workspace

No account required
Text Line Sorter

Natural sort reads embedded numbers in order: item 1 → item 2 → item 3 → item 10 → item 20. Reverse order only flips the current list top-to-bottom — it is not the same as Z → A sorting.

How to use it

  1. Paste one value per line.
  2. Choose alphabetical, reverse, length, or numeric ordering.
  3. Optionally remove duplicates, then review and copy the result.
What is Text Line Sorter?

Sort lines of text alphabetically, numerically, by length, or in reverse, with duplicate removal.

How it works

SiteIndex splits your text into lines and reorders them using the sort mode you choose, with an option to remove duplicate lines and trim blank lines before sorting.

Common uses
  • Alphabetize a list of names, tags, or keywords.
  • Sort a list of numbers written one per line.
  • Reverse a list's order or remove duplicate entries before pasting it elsewhere.
Limitations
  • Blank lines are omitted; duplicate removal compares trimmed lowercase keys while retaining the first original line.
  • Numeric mode currently treats non-numeric or empty numeric conversions as zero; inspect mixed data before relying on its order.
Frequently asked questions
Is sorting case-sensitive?
Alphabetical sorting is case-insensitive by default so mixed-case lists sort in a predictable order.

Related tools